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/42018f65fc36
branches:  trunk
changeset: 370881:42018f65fc36
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 4559b07f29f2 -r 42018f65fc36 sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c    Sun Jul 05 19:00:33 2020 +0200
+++ b/sys/dev/usb/if_urtwn.c    Mon Jul 06 20:02:57 2020 +0200
@@ -596,6 +596,7 @@
                ieee80211_ifdetach(ic);
                goto fail;
        }
+       ieee80211_com_vincref(vap);
        
        ieee80211_announce(ic);
 



Home | Main Index | Thread Index | Old Index