|
@@ -3872,6 +3872,7 @@ static void set_random_addr(struct hci_request *req, bdaddr_t *rpa)
|
|
if (test_bit(HCI_LE_ADV, &hdev->dev_flags) ||
|
|
if (test_bit(HCI_LE_ADV, &hdev->dev_flags) ||
|
|
hci_conn_hash_lookup_state(hdev, LE_LINK, BT_CONNECT)) {
|
|
hci_conn_hash_lookup_state(hdev, LE_LINK, BT_CONNECT)) {
|
|
BT_DBG("Deferring random address update");
|
|
BT_DBG("Deferring random address update");
|
|
|
|
+ set_bit(HCI_RPA_EXPIRED, &hdev->dev_flags);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|