iwn: stop all watchdogs on device shutdown.

Tested with Intel 6205, STA mode.

MFC after:	5 days
This commit is contained in:
Andriy Voskoboinyk 2017-02-26 01:05:27 +00:00
parent e80039007a
commit c7a9c7f627

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;