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)
commita9cc32d96c62b230c664a362b5f3206d3bcf35b8
treec56bfdb6db4bd6a953618c7c424cb0acf155c4c7
parent0333d6dd3bc17468f42d0c455113fd9d50f7746e
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