]> git.karo-electronics.de Git - linux-beck.git/commit
rt2x00: Remove failsave from rt2x00usb_watchdog_tx_dma
authorIvo van Doorn <IvDoorn@gmail.com>
Thu, 4 Nov 2010 19:39:48 +0000 (20:39 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:26:03 +0000 (13:26 -0500)
commitaaf886bd215396f295bc0489e8ae09d1c03d9aa0
tree5e71e038377d041a7884ff1095b3bebc11445b62
parent7225ce1ea93d24c0914eea0410dcfc426281f996
rt2x00: Remove failsave from rt2x00usb_watchdog_tx_dma

When the TX status handler failed to clear the queue
in rt2x00usb_watchdog_tx_dma() we shouldn't use a failsave
to use the rt2x00usb txdone handler.

If a driver has overriden the txdone handler it must make
sure the txdone handler is capable of cleaning up the queue itself.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00usb.c