iwn: stop all watchdogs on device shutdown.

Tested with Intel 6205, STA mode.

MFC after:	5 days
This commit is contained in:
avos 2017-02-26 01:05:27 +00:00
parent 53f4b45077
commit c16880f0f6

View File

@ -8834,6 +8834,7 @@ iwn_stop_locked(struct iwn_softc *sc)
sc->sc_is_scanning = 0;
sc->sc_tx_timer = 0;
callout_stop(&sc->watchdog_to);
callout_stop(&sc->scan_timeout);
callout_stop(&sc->calib_to);
sc->sc_flags &= ~IWN_FLAG_RUNNING;