]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix: LL PRivacy BLE device fails to connect
authorSathish Narasimman <nsathish41@gmail.com>
Thu, 29 Oct 2020 07:48:21 +0000 (13:18 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 9 Nov 2020 12:40:29 +0000 (13:40 +0100)
commit71810e9cf8c90850ec0c3ea701399e7840ee9cc8
tree45e1c4ce32baf1cf7dd75326a1b576eec828233d
parent394182bb009b22ab04fb019fd6e0f37071684b4f
Bluetooth: Fix: LL PRivacy BLE device fails to connect

When adding device to white list the device is added to resolving list
also. It has to be added only when HCI_ENABLE_LL_PRIVACY flag is set.
HCI_ENABLE_LL_PRIVACY flag has to be tested before adding/deleting devices
to resolving list. use_ll_privacy macro is used only to check if controller
supports LL_Privacy.

https://bugzilla.kernel.org/show_bug.cgi?id=209745

Fixes: da4a2081ca86 ("Bluetooth: Update resolving list when updating whitelist")
Signed-off-by: Sathish Narasimman <sathish.narasimman@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_request.c