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/cdbc34d2a053
branches: trunk
changeset: 934374:cdbc34d2a053
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 cb25fa484844 -r cdbc34d2a053 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
@@ -6920,7 +6920,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