summaryrefslogtreecommitdiff
path: root/sys/dev/ipw
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2009-05-08 13:44:33 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2009-05-08 13:44:33 +0000
commitb569d2132edd3ddc62bbb4f16debb64c87965179 (patch)
treee0914f90353fb52205ca386771dbe9d50e7e386d /sys/dev/ipw
parent6e8e2779b31d3473a2737f69ffe8192576e7eb21 (diff)
Notes
Diffstat (limited to 'sys/dev/ipw')
-rw-r--r--sys/dev/ipw/if_ipw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ipw/if_ipw.c b/sys/dev/ipw/if_ipw.c
index 9d67724f2c61..eac9091a748e 100644
--- a/sys/dev/ipw/if_ipw.c
+++ b/sys/dev/ipw/if_ipw.c
@@ -404,13 +404,13 @@ ipw_detach(device_t dev)
struct ifnet *ifp = sc->sc_ifp;
struct ieee80211com *ic = ifp->if_l2com;
+ ieee80211_draintask(ic, &sc->sc_init_task);
ipw_stop(sc);
bpfdetach(ifp);
ieee80211_ifdetach(ic);
callout_drain(&sc->sc_wdtimer);
- ieee80211_draintask(ic, &sc->sc_init_task);
ipw_release(sc);