]> www.infradead.org Git - users/jedix/linux-maple.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)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 15 Aug 2025 13:44:49 +0000 (09:44 -0400)
commitca88be1a2725a42f8dbad579181611d9dcca8e88
tree4743c6089c8c1f993c235494c158aa05d832f78b
parentde5d7d3f27ddd4046736f558a40e252ddda82013
Bluetooth: hci_sync: Fix scan state after PA Sync has been established

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>
net/bluetooth/hci_sync.c