mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-03 23:47:08 +00:00
sm: fix compile without le privacy address resolution enabled
This commit is contained in:
parent
ced5a857a4
commit
1de8bf6a9e
@ -1305,7 +1305,9 @@ static void sm_key_distribution_handle_all_received(sm_connection_t * sm_conn){
|
||||
// if not found, add to db
|
||||
if (le_db_index < 0) {
|
||||
le_db_index = le_device_db_add(setup->sm_peer_addr_type, setup->sm_peer_address, setup->sm_peer_irk);
|
||||
hci_load_le_device_db_entry_into_resolving_list(le_db_index);
|
||||
#ifdef ENABLE_LE_PRIVACY_ADDRESS_RESOLUTION
|
||||
hci_load_le_device_db_entry_into_resolving_list(le_db_index);
|
||||
#endif
|
||||
}
|
||||
|
||||
if (le_db_index >= 0){
|
||||
|
Loading…
Reference in New Issue
Block a user