Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 16:27:13 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193237 - head/sys/dev/bwi
Message-ID:  <200906011627.n51GRDD4084321@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Mon Jun  1 16:27:13 2009
New Revision: 193237
URL: http://svn.freebsd.org/changeset/base/193237

Log:
  Make sure that we drain the LED blinking callout on detach.
  
  Submitted by:	Paul B. Mahol

Modified:
  head/sys/dev/bwi/if_bwi.c

Modified: head/sys/dev/bwi/if_bwi.c
==============================================================================
--- head/sys/dev/bwi/if_bwi.c	Mon Jun  1 16:22:01 2009	(r193236)
+++ head/sys/dev/bwi/if_bwi.c	Mon Jun  1 16:27:13 2009	(r193237)
@@ -579,6 +579,7 @@ bwi_detach(struct bwi_softc *sc)
 	int i;
 
 	bwi_stop(sc, 1);
+	callout_drain(&sc->sc_led_blink_ch);
 	callout_drain(&sc->sc_calib_ch);
 	ieee80211_ifdetach(ic);
 



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