Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/usb XXX - after creating a VAP (temporary hack...



details:   https://anonhg.NetBSD.org/src-all/rev/3149da0e9be4
branches:  trunk
changeset: 939534:3149da0e9be4
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Mon Jul 06 20:02:57 2020 +0200

description:
XXX - after creating a VAP (temporary hack, has to die!)
we need to get a refcount for it.

diffstat:

 sys/dev/usb/if_urtwn.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 8e4e898ed4b9 -r 3149da0e9be4 sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c    Mon Jul 06 20:02:05 2020 +0200
+++ b/sys/dev/usb/if_urtwn.c    Mon Jul 06 20:02:57 2020 +0200
@@ -592,6 +592,7 @@
                ieee80211_ifdetach(ic);
                goto fail;
        }
+       ieee80211_com_vincref(vap);
        
        ieee80211_announce(ic);
 



Home | Main Index | Thread Index | Old Index