]> git.baikalelectronics.ru Git - kernel.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)
commit691c2062121fc4170e5943874b9696b2ccb7a91e
treee7720e75b93f08fe5f3c37a87b26f75b483ca97b
parent7a9fd64693b6b29b6aec81ed62b2bec07489dfed
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