diff options
author | sam <sam@FreeBSD.org> | 2006-02-18 01:03:09 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-02-18 01:03:09 +0000 |
commit | f4a45a0c615e1da3203af3b16bf4bea8033b6e48 (patch) | |
tree | 80aea379a1e338b83d6442174e6f54bd4fa14260 /sys/dev/ral | |
parent | da6aba0374a7f5739928f372a1d1b8dcfefeefb5 (diff) | |
download | FreeBSD-src-f4a45a0c615e1da3203af3b16bf4bea8033b6e48.zip FreeBSD-src-f4a45a0c615e1da3203af3b16bf4bea8033b6e48.tar.gz |
stop device so we don't panic on card eject
MFC after: 1 week
Diffstat (limited to 'sys/dev/ral')
-rw-r--r-- | sys/dev/ral/if_ral.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ral/if_ral.c b/sys/dev/ral/if_ral.c index 8bd0ef3..9d5b012 100644 --- a/sys/dev/ral/if_ral.c +++ b/sys/dev/ral/if_ral.c @@ -531,6 +531,7 @@ ral_detach(device_t dev) struct ieee80211com *ic = &sc->sc_ic; struct ifnet *ifp = ic->ic_ifp; + ral_stop(sc); callout_stop(&sc->scan_ch); callout_stop(&sc->rssadapt_ch); |