bluetooth: host: fix hang issue caused by consecutive bt disable commands
- add BT_DEV_DISABLE flag to BT_DEV_PERSISTENT_FLAGS to protect consecutive bt disable from running Signed-off-by: Ying Zhang <ying.zhang_2@nxp.com>
This commit is contained in:
parent
327f8df862
commit
ce771c57e6
1 changed files with 2 additions and 1 deletions
|
@ -85,7 +85,8 @@ enum {
|
|||
|
||||
/* Flags which should not be cleared upon HCI_Reset */
|
||||
#define BT_DEV_PERSISTENT_FLAGS (BIT(BT_DEV_ENABLE) | \
|
||||
BIT(BT_DEV_PRESET_ID))
|
||||
BIT(BT_DEV_PRESET_ID) | \
|
||||
BIT(BT_DEV_DISABLE))
|
||||
|
||||
#if defined(CONFIG_BT_EXT_ADV_LEGACY_SUPPORT)
|
||||
/* Check the feature bit for extended or legacy advertising commands */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue