Make sure that we drain the LED blinking callout on detach.

Submitted by:	Paul B. Mahol
This commit is contained in:
Warner Losh 2009-06-01 16:27:13 +00:00
parent 1771d2075a
commit 7389f7db05
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193237

View File

@ -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);