X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=ath%2Fif_ath.c;h=7466f64d4c475c738308582c937373e1ab82fef6;hb=c4d1172910f5e8ce5d2354be84b1d709967ad0aa;hp=aac3584c3ad4c70c5698400385b59e6314e8dae1;hpb=120d309bc3047f573007056d814ec3c3a84d0156;p=madwifi%2F.git diff --git a/ath/if_ath.c b/ath/if_ath.c index aac3584..7466f64 100644 --- a/ath/if_ath.c +++ b/ath/if_ath.c @@ -8322,8 +8322,8 @@ ath_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) /* XXX: if it is SCAN state, disable beacons. */ if (nstate == IEEE80211_S_SCAN) { - ath_hal_intrset(ah, sc->sc_imask &~ (HAL_INT_SWBA | HAL_INT_BMISS)); sc->sc_imask &= ~(HAL_INT_SWBA | HAL_INT_BMISS); + ath_hal_intrset(ah, sc->sc_imask); /* need to reconfigure the beacons when it moves to RUN */ sc->sc_beacons = 0; }