]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d7a62359a8aad9381587c4634fb8214ca5c66eb
treea486d8c32c78e1615c1aa4dac402de2eed7b11a6
parent1cc055c2ff97992b30bafa7b08065c5eb39d808d
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