ath9k: fix retry counting / BAR handling during queue flush
authorFelix Fietkau <nbd@openwrt.org>
Fri, 7 Oct 2011 00:28:15 +0000 (02:28 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 11 Oct 2011 20:41:15 +0000 (16:41 -0400)
commitdaa5c408a57514aaeef49a798202d285ee355c3e
tree9253112a2b7fde5a2b385412a7cbea05ea3b31f6
parent26a64259b702ec3eccb785e32e473eefcc76b5a5
ath9k: fix retry counting / BAR handling during queue flush

When tx is suspended temporarily and the queue is flushed, do not increase
the retry count or attempt to send out BAR frames. Instead simply retry
the affected subframes normally after the reset.

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