Commit f0e9a860 authored by Gabor Juhos's avatar Gabor Juhos Committed by John W. Linville

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: default avatarGabor Juhos <juhosg@openwrt.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 7fe96a16
...@@ -817,6 +817,7 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush) ...@@ -817,6 +817,7 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush)
} }
if (unlikely(sc->sc_flags & (SC_OP_WAIT_FOR_BEACON | if (unlikely(sc->sc_flags & (SC_OP_WAIT_FOR_BEACON |
SC_OP_WAIT_FOR_CAB |
SC_OP_WAIT_FOR_PSPOLL_DATA))) SC_OP_WAIT_FOR_PSPOLL_DATA)))
ath_rx_ps(sc, skb); ath_rx_ps(sc, skb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment