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/e3f8c90290cd
branches: trunk
changeset: 950443:e3f8c90290cd
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 c2ce110f94dd -r e3f8c90290cd 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
@@ -3638,11 +3638,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