ath9k: resume aggregation immediately after a hardware reset
authorFelix Fietkau <nbd@openwrt.org>
Sat, 23 Oct 2010 15:45:38 +0000 (17:45 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Oct 2010 18:45:56 +0000 (14:45 -0400)
commitfac6b6a065da42f826088c58bddad82e1b1ccb40
tree75ba2bfb626d24615adb77ff9ffee931006c2238
parentdafeac387d7f10d12d4fa9cc626af43c805540f7
ath9k: resume aggregation immediately after a hardware reset

Since aggregation is usually triggered by tx completion, a hardware
reset (because of beacon stuck, tx hang or baseband hang) can
significantly delay the transmission of the next AMPDU (until the next
tx completion event).
Fix this by rescheduling aggregation after such a reset.

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