diff options
| author | 2026-10-05 11:15:02 -0400 | |
|---|---|---|
| committer | 2026-10-14 14:38:20 -0400 | |
| commit | 0ad48c88a2ed3b58164fa771977868503b0abac3 (patch) | |
| tree | 9f97b681aaacc2d7b32ed74e1e4883d39354a551 /scripts/Makefile.thinlto | |
| parent | Bluetooth: make hdev->adv_instance_timeout a boolean (diff) | |
Bluetooth: MGMT: Fix advertising instances with Global Advertising
Global Advertising, enabled with MGMT_OP_SET_ADVERTISING, uses instance
0 and with extended advertising it has its own advertising set, but
instances were still being treated as if they shared the same set:
- Add Advertising and Add Extended Advertising Data would return
success without ever enabling the instance.
- Removing the last instance would disable all advertising sets,
stopping Global Advertising while leaving its setting enabled.
- Disabling Global Advertising would disable all sets, including
active instances.
Fix this by only overriding instances that share the advertising set of
Global Advertising, and by tracking HCI_LE_ADV_0 rather than HCI_LE_ADV
to determine the state of Global Advertising.
Fixes: 0d92808024b4 ("Bluetooth: HCI: Fix tracking of advertisement set/instance 0x00")
Assisted-by: OpenCode:claude-opus-5.5
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
