]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btmrvl: fix card reset and suspend race issue
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 7 Jan 2015 05:36:56 +0000 (21:36 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 8 Jan 2015 05:36:50 +0000 (06:36 +0100)
commit1497ee5e7f7f3e6d36c0f258848f802932b52042
treec56bfdb6db4bd6a953618c7c424cb0acf155c4c7
parentfe77b9cd1d7947ec0830c5efae822b26db0f7393
Bluetooth: btmrvl: fix card reset and suspend race issue

Sometimes suspend thread queues a command and wait for it's
response, meanwhile WLAN driver power cycles the card which
leads to crash. This patch makes sure that suspend thread is
woken up in remove path.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmrvl_main.c