From 7ba4803904c9e437b0117eca95ef5a55754170ac Mon Sep 17 00:00:00 2001 From: h2zero Date: Fri, 1 May 2020 21:54:46 -0600 Subject: [PATCH] Remove resolving RPA in advertisement report. Merges https://github.com/espressif/esp-nimble/pull/7 Closes https://github.com/espressif/esp-nimble/issues/10 --- nimble/host/src/ble_hs_hci_evt.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/nimble/host/src/ble_hs_hci_evt.c b/nimble/host/src/ble_hs_hci_evt.c index 92e3c224ca..5152c26f7b 100644 --- a/nimble/host/src/ble_hs_hci_evt.c +++ b/nimble/host/src/ble_hs_hci_evt.c @@ -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;