]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: hci_sync: Fix scan state after PA Sync has been established
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 24 Jul 2025 20:43:18 +0000 (16:43 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:31:13 +0000 (16:31 +0200)
commit0d340bbb8d490caa6e54e496cc8b61359576d04f
tree812cf6a8448d31275505ea8216b87496266157a4
parent4bdb0f78bddbfa77d3ab458a21dd9cec495d317a
Bluetooth: hci_sync: Fix scan state after PA Sync has been established

[ Upstream commit ca88be1a2725a42f8dbad579181611d9dcca8e88 ]

Passive scanning is used to program the address of the peer to be
synchronized, so once HCI_EV_LE_PA_SYNC_ESTABLISHED is received it
needs to be updated after clearing HCI_PA_SYNC then call
hci_update_passive_scan_sync to return it to its original state.

Fixes: 6d0417e4e1cf ("Bluetooth: hci_conn: Fix not setting conn_timeout for Broadcast Receiver")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/bluetooth/hci_sync.c