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/b0e1b59b8a92
branches:  trunk
changeset: 939860:b0e1b59b8a92
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 2737a172b586 -r b0e1b59b8a92 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