Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2016 17:12:02 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308377 - head/sys/dev/rtwn
Message-ID:  <201611061712.uA6HC2Ql065923@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611061712.uA6HC2Ql065923>