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 Avoid reseting the hw_state unnecessarily.
details: https://anonhg.NetBSD.org/src-all/rev/c84aa0eef6f9
branches: trunk
changeset: 377897:c84aa0eef6f9
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Sun Jan 17 04:09:16 2021 +1100
description:
Avoid reseting the hw_state unnecessarily.
With this chnange interrupts continue to run and iwn(4) now produces scan
results.
At this staage iwm(4) may associate - need to test further.
diffstat:
sys/dev/pci/if_iwm.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diffs (12 lines):
diff -r 1b58c927106c -r c84aa0eef6f9 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c Sun Jan 17 04:06:39 2021 +1100
+++ b/sys/dev/pci/if_iwm.c Sun Jan 17 04:09:16 2021 +1100
@@ -6316,8 +6316,6 @@ iwm_newstate(struct ieee80211vap *vap, e
iwm_stop_device(sc);
iwm_init_hw(sc);
- } else if (ostate == IEEE80211_S_INIT) {
- iwm_init_hw(sc);
}
switch (nstate) {
Home |
Main Index |
Thread Index |
Old Index