rtwn: reset watchdog timer on device shutdown.

This commit is contained in:
Andriy Voskoboinyk 2016-11-06 17:12:02 +00:00
parent 10652ae062
commit 1318032e9a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308377

View File

@ -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;