Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/net80211 Dont call ieee80211_init. It is handled ...
details: https://anonhg.NetBSD.org/src-all/rev/33cf53cb33e7
branches: trunk
changeset: 986673:33cf53cb33e7
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Fri May 01 11:36:56 2020 +1000
description:
Dont call ieee80211_init. It is handled in the devices overloaded
callback.
diffstat:
sys/net80211/ieee80211_ioctl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r 90cbf21df381 -r 33cf53cb33e7 sys/net80211/ieee80211_ioctl.c
--- a/sys/net80211/ieee80211_ioctl.c Fri May 01 11:36:06 2020 +1000
+++ b/sys/net80211/ieee80211_ioctl.c Fri May 01 11:36:56 2020 +1000
@@ -3637,11 +3637,11 @@
vap->iv_reset(vap, ireq->i_type) : 0;
if (error == ENETRESET) {
/* XXX need to re-think AUTO handling */
+#if __FreeBSD__
if (IS_UP_AUTO(vap))
-#if __FreeBSD__
ieee80211_init(vap);
error = 0;
-#elif __NetBSD__
+#elif 0
/* arg is a vap in 802.11 code */
ieee80211_init((struct ifnet *)vap);
#endif
Home |
Main Index |
Thread Index |
Old Index