Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/net80211 Use vap_delete in vap destroy.
details: https://anonhg.NetBSD.org/src-all/rev/374c71d18224
branches: trunk
changeset: 364774:374c71d18224
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Mon May 11 09:29:44 2020 +1000
description:
Use vap_delete in vap destroy.
diffstat:
sys/net80211/ieee80211_netbsd.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 70ab307de381 -r 374c71d18224 sys/net80211/ieee80211_netbsd.c
--- a/sys/net80211/ieee80211_netbsd.c Fri May 08 07:41:53 2020 +1000
+++ b/sys/net80211/ieee80211_netbsd.c Mon May 11 09:29:44 2020 +1000
@@ -230,7 +230,11 @@
if_clone_destroyif(wlan_cloner, vap->iv_ifp);
CURVNET_RESTORE();
#else
- printf ("vap_destroy called ... what next?\n");
+ struct ieee80211com *ic = vap->iv_ic;
+
+ TAILQ_REMOVE(&ic->ic_vaps, vap, iv_next);
+ ic->ic_vap_delete(vap);
+// printf ("vap_destroy called ... what next?\n");
#endif
}
Home |
Main Index |
Thread Index |
Old Index