Skip to content

Commit

Permalink
Remove resolving RPA in advertisement report.
Browse files Browse the repository at this point in the history
Merges #7

Closes #10
  • Loading branch information
h2zero authored and prasad-alatkar committed May 8, 2020
1 parent 2329753 commit 7ba4803
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 @@ -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;

Expand Down

0 comments on commit 7ba4803

Please sign in to comment.