]> Gentwo Git Trees - linux/.git/commit
Bluetooth: hci_core: Fix tracking of periodic advertisement
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 22 Oct 2025 20:03:19 +0000 (16:03 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 24 Oct 2025 14:31:59 +0000 (10:31 -0400)
commit751463ceefc3397566d03c8b64ef4a77f5fd88ac
treead71d6bdd0995fab96f483d272fcb2c7ef09f1dc
parent857eb0fabc389be5159e0e17d84bc122614b5b98
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>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c
net/bluetooth/hci_sync.c