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/6d571574e184
branches: trunk
changeset: 369276:6d571574e184
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 f7f26ed177d5 -r 6d571574e184 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_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