summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGabor Juhos2009-06-15 17:49:11 +0200
committerJohn W. Linville2009-06-15 21:05:59 +0200
commitf0e9a8606ce60880249fd570fbebf4472c3d37c0 (patch)
treee69b613875d4910ff7cf89846d397b914b5e4e22 /drivers
parentath9k: prevent sleeping while we are waiting for CAB (diff)
downloadkernel-qcow2-linux-f0e9a8606ce60880249fd570fbebf4472c3d37c0.tar.gz
kernel-qcow2-linux-f0e9a8606ce60880249fd570fbebf4472c3d37c0.tar.xz
kernel-qcow2-linux-f0e9a8606ce60880249fd570fbebf4472c3d37c0.zip
ath9k: process rx packet if we are waiting for CAB
If we are in PS mode, we have to process the received frame if the SC_OP_WAIT_FOR_CAB bit is set. Changes-licensed-under: ISC Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath9k/recv.c1
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 5014a19b0f75..f99f3a76df3f 100644
--- a/drivers/net/wireless/ath/ath9k/recv.c
+++ b/drivers/net/wireless/ath/ath9k/recv.c
@@ -817,6 +817,7 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush)
}
if (unlikely(sc->sc_flags & (SC_OP_WAIT_FOR_BEACON |
+ SC_OP_WAIT_FOR_CAB |
SC_OP_WAIT_FOR_PSPOLL_DATA)))
ath_rx_ps(sc, skb);