diff --git a/sys/dev/ipw/if_ipw.c b/sys/dev/ipw/if_ipw.c index b9c5c75aab2e..5463f0a894a8 100644 --- a/sys/dev/ipw/if_ipw.c +++ b/sys/dev/ipw/if_ipw.c @@ -417,9 +417,9 @@ ipw_detach(device_t dev) ieee80211_ifdetach(ic); callout_drain(&sc->sc_wdtimer); - taskqueue_drain(taskqueue_fast, &sc->sc_init_task); - taskqueue_drain(taskqueue_fast, &sc->sc_scan_task); - taskqueue_drain(taskqueue_fast, &sc->sc_bmiss_task); + taskqueue_drain(taskqueue_swi, &sc->sc_init_task); + taskqueue_drain(taskqueue_swi, &sc->sc_scan_task); + taskqueue_drain(taskqueue_swi, &sc->sc_bmiss_task); ipw_release(sc);