svn commit: r308377 - head/sys/dev/rtwn

Andriy Voskoboinyk avos at FreeBSD.org
Sun Nov 6 17:12:03 UTC 2016


Author: avos
Date: Sun Nov  6 17:12:02 2016
New Revision: 308377
URL: https://svnweb.freebsd.org/changeset/base/308377

Log:
  rtwn: reset watchdog timer on device shutdown.

Modified:
  head/sys/dev/rtwn/if_rtwn.c

Modified: head/sys/dev/rtwn/if_rtwn.c
==============================================================================
--- head/sys/dev/rtwn/if_rtwn.c	Sun Nov  6 16:44:33 2016	(r308376)
+++ head/sys/dev/rtwn/if_rtwn.c	Sun Nov  6 17:12:02 2016	(r308377)
@@ -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;


More information about the svn-src-all mailing list