diff options
| author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2025-10-01 10:55:58 -0400 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2025-10-24 10:21:07 -0400 |
| commit | 0d92808024b4e9868cef68d16f121d509843e80e (patch) | |
| tree | fffe5b8c7471299b0c25384df501b0d3b93a2b8e /include/net/bluetooth/hci.h | |
| parent | Bluetooth: btmtksdio: Add pmctrl handling for BT closed state during reset (diff) | |
| download | linux-0d92808024b4e9868cef68d16f121d509843e80e.tar.gz linux-0d92808024b4e9868cef68d16f121d509843e80e.zip | |
Bluetooth: HCI: Fix tracking of advertisement set/instance 0x00
This fixes the state tracking of advertisement set/instance 0x00 which
is considered a legacy instance and is not tracked individually by
adv_instances list, previously it was assumed that hci_dev itself would
track it via HCI_LE_ADV but that is a global state not specifc to
instance 0x00, so to fix it a new flag is introduced that only tracks the
state of instance 0x00.
Fixes: 1488af7b8b5f ("Bluetooth: hci_sync: Fix hci_resume_advertising_sync")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include/net/bluetooth/hci.h')
| -rw-r--r-- | include/net/bluetooth/hci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 9ecc70baaca9..8d0e703bc929 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -434,6 +434,7 @@ enum { HCI_USER_CHANNEL, HCI_EXT_CONFIGURED, HCI_LE_ADV, + HCI_LE_ADV_0, HCI_LE_PER_ADV, HCI_LE_SCAN, HCI_SSP_ENABLED, |
