From: Gabor Juhos Date: Mon, 15 Jun 2009 15:49:11 +0000 (+0200) Subject: ath9k: process rx packet if we are waiting for CAB X-Git-Tag: v2.6.31-rc1~14^2~75^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0e9a8606ce60880249fd570fbebf4472c3d37c0;p=platform%2Fkernel%2Flinux-3.10.git 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index 5014a19..f99f3a7 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);