diff options
| author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-05-10 02:44:19 +0000 |
|---|---|---|
| committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-05-10 02:44:19 +0000 |
| commit | e1d2045e3fc583a96ccba6d0da14c26a596136ae (patch) | |
| tree | e61a7862b55b33760a6aafa9c188f6e7c22f248f /sys/dev/ipw | |
| parent | b016f58c5184b450789cddf7b2261b946d04ba36 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ipw')
| -rw-r--r-- | sys/dev/ipw/if_ipw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ipw/if_ipw.c b/sys/dev/ipw/if_ipw.c index eac9091a748e..c69ab6d8d975 100644 --- a/sys/dev/ipw/if_ipw.c +++ b/sys/dev/ipw/if_ipw.c @@ -1384,8 +1384,11 @@ ipw_fatal_error_intr(struct ipw_softc *sc) { struct ifnet *ifp = sc->sc_ifp; struct ieee80211com *ic = ifp->if_l2com; + struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); device_printf(sc->sc_dev, "firmware error\n"); + if (vap != NULL) + ieee80211_cancel_scan(vap); ieee80211_runtask(ic, &sc->sc_init_task); } |
