ath9k: Fix drain txq failure in flush
authorRajkumar Manoharan <rmanoharan@atheros.com>
Thu, 28 Apr 2011 10:01:57 +0000 (15:31 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 May 2011 18:59:04 +0000 (14:59 -0400)
commit2f6fc351e6e8c1b6a95140e733607e32bc3a4322
treeeb1c355faf1eae3a2497b2ceca3455a627267097
parent890641b2512f491f28e4ef7536dca1ea93dae997
ath9k: Fix drain txq failure in flush

While draining the txq in flush, the buffers can be
added into the tx queue by tx_tasklet which leads to
unneccesary chip reset.

This issue was originially found with AR9382 and
running heavy uplink udp traffic with higher bandwidth
and doing frequent bgscan.

Cc: stable@kernel.org
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c