diff options
author | imp <imp@FreeBSD.org> | 2009-06-01 16:27:13 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-06-01 16:27:13 +0000 |
commit | a7b978eee4b16658c1a3d968da1fea68fd58721c (patch) | |
tree | bed43f177fbaf95593b0533e1ae731a705871690 /sys/dev | |
parent | 36075f2a9a28015328775bf2e599fd600579ac09 (diff) | |
download | FreeBSD-src-a7b978eee4b16658c1a3d968da1fea68fd58721c.zip FreeBSD-src-a7b978eee4b16658c1a3d968da1fea68fd58721c.tar.gz |
Make sure that we drain the LED blinking callout on detach.
Submitted by: Paul B. Mahol
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/bwi/if_bwi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/bwi/if_bwi.c b/sys/dev/bwi/if_bwi.c index 83f6d10..de5ad45 100644 --- a/sys/dev/bwi/if_bwi.c +++ b/sys/dev/bwi/if_bwi.c @@ -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); |