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/e35995b9895b
branches: trunk
changeset: 1025874:e35995b9895b
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 f7466dd39d87 -r e35995b9895b 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