ath9k: Fix TX queue draining
authorSujith <Sujith.Manoharan@atheros.com>
Mon, 14 Dec 2009 09:27:08 +0000 (14:57 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jan 2010 23:04:14 +0000 (15:04 -0800)
commitbef82b626e39357fd28b8303e9f88ea5c5d1b51f
treeff2ff85f68cd204e303493f1ede52f63997cc65d
parent0ebbdd734f2509bae17f4340fc4fd07c530dbc59
ath9k: Fix TX queue draining

commit e8009e9850d59000d518296af372888911a129bd upstream.

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.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/mac.c
drivers/net/wireless/ath/ath9k/xmit.c