Bluetooth: btmrvl: add surprise_removed flag
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 1 Jan 2015 08:13:41 +0000 (00:13 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 6 Jan 2015 15:19:35 +0000 (16:19 +0100)
commit7b4b8740c6fc153fbb24b3c1ac391cf8908ad113
tree8eef99bf9f66208596533e6849851b992e98e159
parent9b89fdfee47de2d5d904a36cb85304e1ba80934d
Bluetooth: btmrvl: add surprise_removed flag

This flag will be set in unload path to make sure that we skip
sending further commands, ignore interrupts and stop main thread
when unload starts.

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