Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/dev/pci Allow iwm_newstate to still call the stack...
details: https://anonhg.NetBSD.org/src-all/rev/e6bd40ac3dc7
branches: trunk
changeset: 378071:e6bd40ac3dc7
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Thu Jun 29 01:04:58 2023 +1000
description:
Allow iwm_newstate to still call the stack's newstate function.
Same as done for iwn(4).
diffstat:
sys/dev/pci/if_iwm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r 2f879e91bcc2 -r e6bd40ac3dc7 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c Thu Jun 29 01:02:59 2023 +1000
+++ b/sys/dev/pci/if_iwm.c Thu Jun 29 01:04:58 2023 +1000
@@ -6311,11 +6311,11 @@ iwm_newstate(struct ieee80211vap *vap, e
break;
case IEEE80211_S_SCAN:
-#if 0
if (ostate == nstate &&
ISSET(sc->sc_flags, IWM_FLAG_SCANNING)) {
- return 0;
+ break;
}
+#if 0
ic->ic_flags |= IEEE80211_F_SCAN;// | IEEE80211_F_ASCAN;
#endif
IWM_LOCK(sc);
Home |
Main Index |
Thread Index |
Old Index