ath9k: Fix TX queue draining
authorSujith <Sujith.Manoharan@atheros.com>
Mon, 14 Dec 2009 09:27:08 +0000 (14:57 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Dec 2009 16:32:19 +0000 (11:32 -0500)
commite8009e9850d59000d518296af372888911a129bd
tree5ba75d52c24307791d1385b7c06b0edb06dd77cc
parent17b182e3db255ab068c2ebb85f34840607a53cc4
ath9k: Fix TX queue draining

When TX DMA termination has failed, the HW has to be reset
completely. Doing a fast channel change in this case is insufficient.
Also, change the debug level of a couple of messages to FATAL.

Cc: stable@kernel.org
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/mac.c
drivers/net/wireless/ath/ath9k/xmit.c