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/9bd9ecbb4645
branches: trunk
changeset: 988787:9bd9ecbb4645
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 de75053068e5 -r 9bd9ecbb4645 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