ath5k: Add watchdog for stuck TX queues
authorBruno Randolf <br1@einfach.org>
Fri, 17 Sep 2010 02:36:56 +0000 (11:36 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Sep 2010 15:05:12 +0000 (11:05 -0400)
commit4edd761f4075b03be5932682a2f7b9368dc9e536
tree2920eb3213e722a68e560eed472c24542812ac77
parent1440401e7051d4cf66084a7c36125834901bb90d
ath5k: Add watchdog for stuck TX queues

Since we do not know any better solution to the problem that TX queues can get
stuck, this adds a timer-based watchdog, which will check for stuck queues and
reset the hardware if necessary.

Ported from ath9k commit 164ace38536849966ffa377b1b1132993a5a375d.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/base.h