diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/atw.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/atw.c b/sys/dev/ic/atw.c index 129645cf437..c41e97b7088 100644 --- a/sys/dev/ic/atw.c +++ b/sys/dev/ic/atw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atw.c,v 1.21 2004/07/15 16:21:13 millert Exp $ */ +/* $OpenBSD: atw.c,v 1.22 2004/07/19 21:14:17 millert Exp $ */ /* $NetBSD: atw.c,v 1.65 2004/07/15 07:31:05 dyoung Exp $ */ /*- @@ -2673,6 +2673,8 @@ atw_detach(struct atw_softc *sc) if ((sc->sc_flags & ATWF_ATTACHED) == 0) return (0); + timeout_del(&sc->sc_scan_to); + ieee80211_ifdetach(ifp); if_detach(ifp); |