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/b7084ac88dfe
branches:  trunk
changeset: 951278:b7084ac88dfe
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 4726d809beb0 -r b7084ac88dfe 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
@@ -594,6 +594,7 @@
                ieee80211_ifdetach(ic);
                goto fail;
        }
+       ieee80211_com_vincref(vap);
        
        ieee80211_announce(ic);
 



Home | Main Index | Thread Index | Old Index