projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abb638b
)
Bluetooth: LL privacy allow RPA
author
Sathish Narasimman
<sathish.narasimman@intel.com>
Mon, 5 Apr 2021 14:30:41 +0000
(20:00 +0530)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 6 Apr 2021 08:48:15 +0000
(10:48 +0200)
allow RPA to add bd address to whitelist
Signed-off-by: Sathish Narasimman <sathish.narasimman@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_request.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/hci_request.c
b/net/bluetooth/hci_request.c
index 0d78122342d5932d51029eb8d48a4bb106b5433d..560b74d421a898242dcd256fa05923556e8a1347 100644
(file)
--- a/
net/bluetooth/hci_request.c
+++ b/
net/bluetooth/hci_request.c
@@
-847,6
+847,10
@@
static u8 update_white_list(struct hci_request *req)
*/
bool allow_rpa = hdev->suspended;
+ if (use_ll_privacy(hdev) &&
+ hci_dev_test_flag(hdev, HCI_ENABLE_LL_PRIVACY))
+ allow_rpa = true;
+
/* Go through the current white list programmed into the
* controller one by one and check if that address is still
* in the list of pending connections or list of devices to