mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-20 11:57:54 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user