mirror of https://gitee.com/openkylin/linux.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 <juhosg@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
7fe96a1648
commit
f0e9a8606c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue