]> Pileus Git - ~andy/linux/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)
commit8fed14085595c703612b5b712ffe114ef0370929
treecf20f55f47cffa2323b9e41ae4b4059be129951f
parenta1cd94d345a8f68300c8ccd8422434e54199f68d
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