Index: dev/wpi/if_wpi.c =================================================================== RCS file: /home/ncvs/src/sys/dev/wpi/if_wpi.c,v retrieving revision 1.46 diff -u -r1.46 if_wpi.c --- dev/wpi/if_wpi.c 17 Dec 2011 10:23:17 -0000 1.46 +++ dev/wpi/if_wpi.c 15 Mar 2012 16:57:03 -0000 @@ -3182,6 +3182,8 @@ wpi_stop_locked(struct wpi_softc *sc) { struct ifnet *ifp = sc->sc_ifp; + struct ieee80211com *ic = ifp->if_l2com; + struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); uint32_t tmp; int ac; @@ -3222,6 +3224,10 @@ tmp = WPI_READ(sc, WPI_RESET); WPI_WRITE(sc, WPI_RESET, tmp | WPI_SW_RESET); sc->flags &= ~WPI_FLAG_BUSY; + + if (vap != NULL) { + ieee80211_new_state(vap, IEEE80211_S_INIT, -1); + } } static void