aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-10-22 16:03:19 -0400
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-10-24 10:31:59 -0400
commit751463ceefc3397566d03c8b64ef4a77f5fd88ac (patch)
treead71d6bdd0995fab96f483d272fcb2c7ef09f1dc /include
parentBluetooth: hci_conn: Fix connection cleanup with BIG with 2 or more BIS (diff)
downloadlinux-751463ceefc3397566d03c8b64ef4a77f5fd88ac.tar.gz
linux-751463ceefc3397566d03c8b64ef4a77f5fd88ac.zip
Bluetooth: hci_core: Fix tracking of periodic advertisement
Periodic advertising enabled flag cannot be tracked by the enabled flag since advertising and periodic advertising each can be enabled/disabled separately from one another causing the states to be inconsistent when for example an advertising set is disabled its enabled flag is set to false which is then used for periodic which has not being disabled. Fixes: eca0ae4aea66 ("Bluetooth: Add initial implementation of BIS connections") Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 2924c2bf2a98..b8100dbfe5d7 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -244,6 +244,7 @@ struct adv_info {
bool enabled;
bool pending;
bool periodic;
+ bool periodic_enabled;
__u8 mesh;
__u8 instance;
__u8 handle;