]> git.karo-electronics.de Git - linux-beck.git/commit
ath5k: Always free tx buffers before reset
authorNick Kossifidis <mickflemm@gmail.com>
Fri, 3 Dec 2010 04:05:19 +0000 (06:05 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Dec 2010 21:00:23 +0000 (16:00 -0500)
commit19252ecb672d3f35959c576d1d26b9aca350f5bf
tree83760e5ce884d9ec459a9dcab3d733e5ac6b9df1
parentd84938c9be85f4738a350ef44210789fef915cb7
ath5k: Always free tx buffers before reset

 * Always free tx buffers before reset, since we also empty hw queues.
 If we don't and a queue gets stuck, we'll never decrease txq_len and sw
 will keep thinking the queue is still stuck even after reset.

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c