mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Revert "component/bt: add local irk to controller"
This reverts commit 95c35288bc
.
This commit is contained in:
parent
eaa9897386
commit
0067c28013
@ -240,12 +240,6 @@ BOOLEAN BTM_SecRegister(tBTM_APPL_INFO *p_cb_info)
|
|||||||
if (memcmp(btm_cb.devcb.id_keys.ir, &temp_value, sizeof(BT_OCTET16)) == 0) {
|
if (memcmp(btm_cb.devcb.id_keys.ir, &temp_value, sizeof(BT_OCTET16)) == 0) {
|
||||||
btm_ble_reset_id();
|
btm_ble_reset_id();
|
||||||
}
|
}
|
||||||
#if (!BLE_UPDATE_BLE_ADDR_TYPE_RPA)
|
|
||||||
BD_ADDR peer_addr = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0};
|
|
||||||
BT_OCTET16 peer_irk = {0x0};
|
|
||||||
/* add local irk to controller */
|
|
||||||
btsnd_hcic_ble_add_device_resolving_list (0, peer_addr, peer_irk, btm_cb.devcb.id_keys.irk);
|
|
||||||
#endif
|
|
||||||
} else {
|
} else {
|
||||||
BTM_TRACE_WARNING("%s p_cb_info->p_le_callback == NULL\n", __func__);
|
BTM_TRACE_WARNING("%s p_cb_info->p_le_callback == NULL\n", __func__);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user