ath9k: resume aggregation immediately after a hardware reset
authorFelix Fietkau <nbd@openwrt.org>
Sat, 23 Oct 2010 15:45:38 +0000 (17:45 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:32:01 +0000 (13:32 -0800)
commit5eecfe329b7a9755307b4acf78aafb2dd6e3b251
treeb7a62859b118540a5f3989c2975284a504a1dcfd
parent1cd0695c23eb4e023662ef9832736e30cb98f8e8
ath9k: resume aggregation immediately after a hardware reset

commit fac6b6a065da42f826088c58bddad82e1b1ccb40 upstream.

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/beacon.c
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/xmit.c