]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix block ack window tracking check
authorFelix Fietkau <nbd@openwrt.org>
Tue, 6 Aug 2013 12:18:07 +0000 (14:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 9 Aug 2013 19:58:11 +0000 (15:58 -0400)
commit88473ce8a8b507ddae91cfc85fb22481128f1059
treecf20f55f47cffa2323b9e41ae4b4059be129951f
parent98406846e6c01c2a626f18ee2b1f4e197a1beb5d
ath9k: fix block ack window tracking check

When a packet has been tracked as part of the BlockAck window and added
to the hardware queue, it can end up back in the TID queue again with
fi->retries still set to 0 (e.g. if the frame was filtered). Keep an
extra bit for the BAW tracking status to fix this corner case.

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