Bluetooth: Controller: Fix privacy advertiser connect peer address type
Fix an issue with enhanced connection complete event raised by the advertiser role. The advertiser reported that it has resolved the the identity address of the peer, even when the peer is connecting using it's identity address. The host will not have the correct on-air address type i.e public. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
699436a3b6
commit
bd89cc3f4d
1 changed files with 1 additions and 1 deletions
|
@ -1090,7 +1090,7 @@ static inline u32_t isr_rx_adv(u8_t devmatch_ok, u8_t devmatch_id,
|
|||
radio_le_conn_cmplt->own_addr_type = pdu_adv->rx_addr;
|
||||
memcpy(&radio_le_conn_cmplt->own_addr[0],
|
||||
&pdu_adv->connect_ind.adv_addr[0], BDADDR_SIZE);
|
||||
if (rl_idx != FILTER_IDX_NONE) {
|
||||
if (irkmatch_ok && rl_idx != FILTER_IDX_NONE) {
|
||||
/* TODO: store rl_idx instead if safe */
|
||||
/* Store identity address */
|
||||
ll_rl_id_addr_get(rl_idx,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue