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 Ensure state machine is reset on chip stop.
details: https://anonhg.NetBSD.org/src-all/rev/8fb6c55ed635
branches: trunk
changeset: 367815:8fb6c55ed635
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Sun May 24 19:04:22 2020 +1000
description:
Ensure state machine is reset on chip stop.
diffstat:
sys/dev/pci/if_iwn.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 8c1aa38fcb86 -r 8fb6c55ed635 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c Sun May 24 19:03:21 2020 +1000
+++ b/sys/dev/pci/if_iwn.c Sun May 24 19:04:22 2020 +1000
@@ -6993,7 +6993,7 @@
ifp->if_timer = sc->sc_tx_timer = 0;
ifp->if_flags &= ~(IFF_RUNNING | IFF_OACTIVE);
-// ieee80211_new_state(vap, IEEE80211_S_INIT, -1);
+ ieee80211_new_state(vap, IEEE80211_S_INIT, -1);
/* Power OFF hardware. */
iwn_hw_stop(sc);
Home |
Main Index |
Thread Index |
Old Index