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/e908d90c0111
branches:  trunk
changeset: 375491:e908d90c0111
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 8f3e50a8c173 -r e908d90c0111 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 @@ iwn_stop(struct ifnet *ifp, int disable)
        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