mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix "taskqueue_drain with the following non-sleepable locks held"
witness(9) warning on detach.
This commit is contained in:
parent
b3c792cab0
commit
a2f9548d05
1 changed files with 1 additions and 1 deletions
|
|
@ -529,12 +529,12 @@ wi_detach(device_t dev)
|
|||
sc->wi_gone |= !bus_child_present(dev);
|
||||
|
||||
wi_stop(ifp, 0);
|
||||
WI_UNLOCK(sc);
|
||||
|
||||
#if NBPFILTER > 0
|
||||
bpfdetach(ifp);
|
||||
#endif
|
||||
ieee80211_ifdetach(&sc->sc_ic);
|
||||
WI_UNLOCK(sc);
|
||||
bus_teardown_intr(dev, sc->irq, sc->wi_intrhand);
|
||||
if_free(sc->sc_ifp);
|
||||
wi_free(dev);
|
||||
|
|
|
|||
Loading…
Reference in a new issue