Skip to content

Commit

Permalink
Remove resolving RPA in advertisement report.
Browse files Browse the repository at this point in the history
  • Loading branch information
h2zero authored and ESPAbhinav committed Feb 14, 2024
1 parent bd92630 commit 4b421f3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions nimble/host/src/ble_hs_hci_evt.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,14 +504,6 @@ ble_hs_hci_evt_le_adv_rpt(uint8_t subevent, const void *data, unsigned int len)

for (i = 0; i < ev->num_reports; i++) {
rpt = data;
#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

data += sizeof(rpt) + rpt->data_len + 1;

Expand Down

0 comments on commit 4b421f3

Please sign in to comment.