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/5844dd95d3ff
branches:  trunk
changeset: 940872:5844dd95d3ff
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 997cdb86ef18 -r 5844dd95d3ff 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