]> git.openfabrics.org - ~emulex/infiniband.git/commit
rt2x00: Fix crash on USB unplug
authorIvo van Doorn <ivdoorn@gmail.com>
Thu, 4 Nov 2010 19:41:05 +0000 (20:41 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:26:07 +0000 (13:26 -0500)
commit070192dd2975c0e97bbdeac7623b755235c6db7d
treee7720e75b93f08fe5f3c37a87b26f75b483ca97b
parent303c7d6abfd0430e39e84a43361492b4a8c890b6
rt2x00: Fix crash on USB unplug

By not scheduling the TX/RX completion worker threads
when Radio is disabled, or hardware has been unplugged,
the queues cannot be completely cleaned.

This causes crashes when the hardware has been unplugged while
the radio is still enabled.

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/rt2x00dev.c
drivers/net/wireless/rt2x00/rt2x00usb.c