bonding duplication bug fix
This patch corrects a problem where the bonding table would add a duplicate entry for a device that uses private resolvable addressing.
This commit is contained in:
parent
762c85be56
commit
94c31c8dd2
|
@ -2599,7 +2599,7 @@ void dm_ble_evt_handler(ble_evt_t * p_ble_evt)
|
|||
{
|
||||
if (m_irk_index_table[p_ble_evt->evt.gap_evt.params.connected.irk_match_idx] != DM_INVALID_ID)
|
||||
{
|
||||
device_index = m_irk_index_table[p_ble_evt->evt.gap_evt.params.connected.irk_match_idx];
|
||||
device_index = im_peer_id_get_by_irk_match_idx(p_ble_evt->evt.gap_evt.params.connected.irk_match_idx);
|
||||
err_code = NRF_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue