Bluetooth: hci_sync: Use address filtering when HCI_PA_SYNC is set
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 21 Feb 2024 14:38:09 +0000 (09:38 -0500)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 6 Mar 2024 22:26:19 +0000 (17:26 -0500)
commitbba71ef13b20ef3373f6fdcd66fac35cd60f0bbb
tree53d03e1a0908d0affd8480c60ddb1ef415b86aa1
parent168d9bf9c7f01df71e6404cfff66d9c2a8e968fb
Bluetooth: hci_sync: Use address filtering when HCI_PA_SYNC is set

If HCI_PA_SYNC flag is set it means there is a Periodic Advertising
Synchronization pending, so this attempts to locate the address passed
to HCI_OP_LE_PA_CREATE_SYNC and program it in the accept list so only
reports with that address are processed.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_sync.c