]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix TX queue stuck issue.
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Wed, 23 Mar 2011 17:37:22 +0000 (23:07 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 23 Mar 2011 19:22:05 +0000 (15:22 -0400)
commit5daa76df4320f648a1f781e417cbb183403502ab
treed3fe0b228927b10757f31a8e8b7903748057e3a9
parenta4fa6d88e496e5aed132830f88df3ef4d339973f
ath9k: Fix TX queue stuck issue.

commit fed4c11401756ea5812e582a09482f3d2c2d8655 introduced a
regression that caused mac80211 queues in stopped state.

ath_drain_all_txq is called in driver flush which would reset
the stopped flag and the mac80211 queues were never started
after that. iperf traffic is completely stalled due to this issue.

Restart the mac80211 queues in driver flush only if the txqs were
drained.

Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c