ath9k: fix excessive BAR sending when a frame exceeds its retry limit
authorFelix Fietkau <nbd@openwrt.org>
Sat, 15 Jan 2011 13:30:15 +0000 (14:30 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 19 Jan 2011 16:36:11 +0000 (11:36 -0500)
commitf0b8220c64242e19f41ad1b4eec3225d53715cbe
treefc777520c6ce3dbccdca84091338adae7a00c2a3
parent21f28e6f0061568b2347aa7517249fc034f949b5
ath9k: fix excessive BAR sending when a frame exceeds its retry limit

Because the sendbar variable was not reset to zero, the stack would send
Block ACK requests for all subframes following the one that failed, which
could mess up the receiver side block ack window.

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