MFC 1.37: stop device so we don't panic on card removal when active

Approved by:	re (hrs)
This commit is contained in:
sam 2006-04-03 17:18:22 +00:00
parent 9cbee16e0b
commit 8241f51974

View File

@ -533,6 +533,7 @@ USB_DETACH(ural)
struct ieee80211com *ic = &sc->sc_ic;
struct ifnet *ifp = ic->ic_ifp;
ural_stop(sc);
usb_rem_task(sc->sc_udev, &sc->sc_task);
callout_stop(&sc->scan_ch);
callout_stop(&sc->amrr_ch);