Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Feb 2017 01:05:27 +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: r314287 - head/sys/dev/iwn
Message-ID:  <201702260105.v1Q15RJ9031639@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avos
Date: Sun Feb 26 01:05:27 2017
New Revision: 314287
URL: https://svnweb.freebsd.org/changeset/base/314287

Log:
  iwn: stop all watchdogs on device shutdown.
  
  Tested with Intel 6205, STA mode.
  
  MFC after:	5 days

Modified:
  head/sys/dev/iwn/if_iwn.c

Modified: head/sys/dev/iwn/if_iwn.c
==============================================================================
--- head/sys/dev/iwn/if_iwn.c	Sun Feb 26 00:19:02 2017	(r314286)
+++ head/sys/dev/iwn/if_iwn.c	Sun Feb 26 01:05:27 2017	(r314287)
@@ -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;
 



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