]> Gentwo Git Trees - linux/.git/commit
Bluetooth: HCI: Fix tracking of advertisement set/instance 0x00
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 1 Oct 2025 14:55:58 +0000 (10:55 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 24 Oct 2025 14:21:07 +0000 (10:21 -0400)
commit0d92808024b4e9868cef68d16f121d509843e80e
treefffe5b8c7471299b0c25384df501b0d3b93a2b8e
parent77343b8b4f87560f8f03e77b98a81ff3a147b262
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>
include/net/bluetooth/hci.h
net/bluetooth/hci_event.c
net/bluetooth/hci_sync.c