diff options
author | Rajkumar Manoharan <rmanoharan@atheros.com> | 2011-05-06 18:27:46 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-10 15:54:45 -0400 |
commit | deb751880af6f2dce6cdc232a7b023f2b58cd815 (patch) | |
tree | d371ce8950e0496fd4af28a76dbf5c701b264e7e /drivers/net/wireless/ath/ath9k/recv.c | |
parent | 38bb3e9da62f6ebf1c6940d5482f0d6f431dac1c (diff) | |
download | blackbird-op-linux-deb751880af6f2dce6cdc232a7b023f2b58cd815.tar.gz blackbird-op-linux-deb751880af6f2dce6cdc232a7b023f2b58cd815.zip |
ath9k: avoid enabling interrupts while processing rx
The assumsion is that while processing ath9k tasklet,
interrupts were already disabled and it will be enabled
at the completion of ath9k tasklet. But whenever TSFOOR is raised,
the driver configures the beacon timers after having received a
beacon frame from the AP which inturn enables the interrupts.
Cc: stable@kernel.org
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index c5b7cbe59bfa..a485c040bf80 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c @@ -572,6 +572,7 @@ static void ath_rx_ps_beacon(struct ath_softc *sc, struct sk_buff *skb) ath_dbg(common, ATH_DBG_PS, "Reconfigure Beacon timers based on timestamp from the AP\n"); ath_set_beacon(sc); + sc->ps_flags &= ~PS_TSFOOR_SYNC; } if (ath_beacon_dtim_pending_cab(skb)) { |