]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Restart xmit logic in xmit watchdog.
authorBen Greear <greearb@candelatech.com>
Mon, 10 Jan 2011 07:11:52 +0000 (23:11 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 21 Jan 2011 20:34:17 +0000 (15:34 -0500)
commit907866e9ce590b7f05022f8cee0df431f81b1958
tree583cf2f90cfe193f502c6ad8f4ab0e5135611325
parent61cc93bbb068c7916108c46f274c58dd191e7911
ath9k: Restart xmit logic in xmit watchdog.

The system can get into a state where the xmit queue
is stopped, but there are no packets pending, so
the queue will not be restarted.

Add logic to the xmit watchdog to attempt to restart
the xmit logic if this situation is detected.

Example 'dmesg' output:

ath: txq: f4e723e0 axq_qnum: 2, mac80211_qnum: 2 axq_link: f4e996c8 pending frames: 1 axq_acq empty: 1 stopped: 0 axq_depth: 0  Attempting to restart tx logic.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/debug.c
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/ath9k/xmit.c