From 8c2005bb3d4f0c948234f1d8b1242ec43c9593d7 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. --- 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 78383dff0..30dc92f28 100644 --- a/nimble/host/src/ble_hs_hci_evt.c +++ b/nimble/host/src/ble_hs_hci_evt.c @@ -433,14 +433,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;