aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2005-01-18 19:31:31 +0000
committerSam Leffler <sam@FreeBSD.org>2005-01-18 19:31:31 +0000
commit4c24deac20090de852988d3a54b1d9e354caeba1 (patch)
tree015c7f79dbf264231f33cb80d10995a395231f71 /sys/dev/ath
parentf6b8ec160d800ab31eb49f788db202e0cfa9c391 (diff)
Notes
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_ath.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index d999db70882b..e215522fd2a0 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -3885,7 +3885,10 @@ ath_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg)
if (nstate == IEEE80211_S_INIT) {
sc->sc_imask &= ~(HAL_INT_SWBA | HAL_INT_BMISS);
- ath_hal_intrset(ah, sc->sc_imask);
+ /*
+ * NB: disable interrupts so we don't rx frames.
+ */
+ ath_hal_intrset(ah, sc->sc_imask &~ ~HAL_INT_GLOBAL);
/*
* Notify the rate control algorithm.
*/