OSDN Git Service

ath9k: fix draining aggregation tid buffers
authorFelix Fietkau <nbd@openwrt.org>
Fri, 17 May 2013 10:58:26 +0000 (12:58 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 17 May 2013 18:31:09 +0000 (14:31 -0400)
commit6bb4880d9ef30375da4507aeabd6dc261a2c6c2b
treea486d8c32c78e1615c1aa4dac402de2eed7b11a6
parent0c585dda3574e40f562c362eaa326a98b1e49d02
ath9k: fix draining aggregation tid buffers

After a tx attempt, an A-MPDU subframe can still have fi->retries at 0
(if the retry count wasn't incremented due to powersave).
In that case it is still tracked as part of the block ack window, so
when draining the tid queue, its sequence number needs to be cleared
from the pending frame bitmap.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c