diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2015-01-01 03:13:41 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-01-06 10:19:35 -0500 |
commit | 7b4b8740c6fc153fbb24b3c1ac391cf8908ad113 (patch) | |
tree | 8eef99bf9f66208596533e6849851b992e98e159 /drivers/bluetooth/btmrvl_drv.h | |
parent | 9b89fdfee47de2d5d904a36cb85304e1ba80934d (diff) |
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>
Diffstat (limited to 'drivers/bluetooth/btmrvl_drv.h')
-rw-r--r-- | drivers/bluetooth/btmrvl_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/btmrvl_drv.h b/drivers/bluetooth/btmrvl_drv.h index 330f8f84928d..5513204c8bb2 100644 --- a/drivers/bluetooth/btmrvl_drv.h +++ b/drivers/bluetooth/btmrvl_drv.h | |||
@@ -104,6 +104,7 @@ struct btmrvl_private { | |||
104 | #ifdef CONFIG_DEBUG_FS | 104 | #ifdef CONFIG_DEBUG_FS |
105 | void *debugfs_data; | 105 | void *debugfs_data; |
106 | #endif | 106 | #endif |
107 | bool surprise_removed; | ||
107 | }; | 108 | }; |
108 | 109 | ||
109 | #define MRVL_VENDOR_PKT 0xFE | 110 | #define MRVL_VENDOR_PKT 0xFE |