rtwn: reset watchdog timer on device shutdown.
This commit is contained in:
parent
10652ae062
commit
1318032e9a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308377
@ -1966,6 +1966,7 @@ rtwn_stop(struct rtwn_softc *sc)
|
||||
|
||||
#ifndef D4054
|
||||
callout_stop(&sc->sc_watchdog_to);
|
||||
sc->sc_tx_timer = 0;
|
||||
#endif
|
||||
sc->sc_flags &= ~(RTWN_STARTED | RTWN_RUNNING | RTWN_FW_LOADED);
|
||||
sc->sc_flags &= ~RTWN_TEMP_MEASURED;
|
||||
|
Loading…
Reference in New Issue
Block a user