From de1203d8ccdfd5dc6449b2057c4f1966ac070d13 Mon Sep 17 00:00:00 2001 From: Sunny Kapdi Date: Mon, 18 Sep 2017 18:14:13 -0700 Subject: [PATCH] BLE Adv RPA is not updated on first timeout BLE Advertisement RPA is getting updated with the same RPA instead of the newly generated RPA on the first timeout. Make sure to send the newly generated RPA to the Controller. CRs-Fixed: 2111232 Bug: 65857055 Change-Id: I4d8e95c26fe8e5944fdee32089b8fcaffa238367 --- stack/btm/btm_ble_multi_adv.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack/btm/btm_ble_multi_adv.cc b/stack/btm/btm_ble_multi_adv.cc index 99b8cb5ad..afc8e8bd5 100644 --- a/stack/btm/btm_ble_multi_adv.cc +++ b/stack/btm/btm_ble_multi_adv.cc @@ -243,7 +243,7 @@ class BleAdvertisingManagerImpl /* set it to controller */ hci_interface->SetRandomAddress( - p_inst->inst_id, p_inst->own_address, + p_inst->inst_id, bda, Bind( [](AdvertisingInstance* p_inst, RawAddress bda, MultiAdvCb configuredCb, uint8_t status) { -- 2.11.0