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

MFC after:	3 days
This commit is contained in:
Sam Leffler 2006-03-24 19:11:26 +00:00
parent 93a5035fd7
commit 512537d1a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157102

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