Remove resolving RPA in advertisement report.

Merges https://github.com/espressif/esp-nimble/pull/7

Closes https://github.com/espressif/esp-nimble/issues/10
This commit is contained in:
h2zero
2020-05-08 16:20:25 +05:30
committed by Prasad Alatkar
parent 2329753e58
commit 7ba4803904
-8
View File
@@ -443,14 +443,6 @@ ble_hs_hci_evt_le_adv_rpt(uint8_t subevent, uint8_t *data, int len)
memcpy(desc.addr.val, data + off, 6);
off += 6;
#if MYNEWT_VAL(BLE_HOST_BASED_PRIVACY)
if (ble_host_rpa_enabled()) {
/* Now RPA to be resolved here, since controller is unaware of the
* address is RPA */
ble_rpa_replace_peer_params_with_rl(desc.addr.val,
&desc.addr.type, NULL);
}
#endif
desc.length_data = data[off];
++off;