Commit 8ce85ada authored by Sathish Narasimman's avatar Sathish Narasimman Committed by Marcel Holtmann
Browse files

Bluetooth: LL privacy allow RPA



allow RPA to add bd address to whitelist

Signed-off-by: default avatarSathish Narasimman <sathish.narasimman@intel.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent abb638b3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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