diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-10-23 15:45:38 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-25 18:45:56 (GMT) |
commit | fac6b6a065da42f826088c58bddad82e1b1ccb40 (patch) | |
tree | 75ba2bfb626d24615adb77ff9ffee931006c2238 /drivers/net/wireless/ath/ath9k/main.c | |
parent | dafeac387d7f10d12d4fa9cc626af43c805540f7 (diff) | |
download | linux-fsl-qoriq-fac6b6a065da42f826088c58bddad82e1b1ccb40.tar.xz |
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 9679b31..c6ec800 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -580,7 +580,7 @@ void ath_hw_check(struct work_struct *work) msleep(1); } - ath_reset(sc, false); + ath_reset(sc, true); out: ath9k_ps_restore(sc); @@ -598,7 +598,7 @@ void ath9k_tasklet(unsigned long data) ath9k_ps_wakeup(sc); if (status & ATH9K_INT_FATAL) { - ath_reset(sc, false); + ath_reset(sc, true); ath9k_ps_restore(sc); return; } |