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/14e195ccf82a
branches:  trunk
changeset: 364865:14e195ccf82a
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 e22f8fd13960 -r 14e195ccf82a 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
@@ -595,6 +595,7 @@
                ieee80211_ifdetach(ic);
                goto fail;
        }
+       ieee80211_com_vincref(vap);
        
        ieee80211_announce(ic);
 



Home | Main Index | Thread Index | Old Index