mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
Merge branch 'bugfix/btdm_fix_get_bond_list_error_when_connection_with_no_bond_v3.1' into 'release/v3.1'
Component/bt: fix get bond list error when connection with no bond (backport v3.1) See merge request idf/esp-idf!2981
This commit is contained in:
@@ -182,6 +182,10 @@ static void btc_dm_remove_ble_bonding_keys(void)
|
|||||||
|
|
||||||
static void btc_dm_save_ble_bonding_keys(void)
|
static void btc_dm_save_ble_bonding_keys(void)
|
||||||
{
|
{
|
||||||
|
if(!(pairing_cb.ble.is_penc_key_rcvd || pairing_cb.ble.is_pid_key_rcvd || pairing_cb.ble.is_pcsrk_key_rcvd ||
|
||||||
|
pairing_cb.ble.is_lenc_key_rcvd || pairing_cb.ble.is_lcsrk_key_rcvd || pairing_cb.ble.is_lidk_key_rcvd)) {
|
||||||
|
return ;
|
||||||
|
}
|
||||||
bt_bdaddr_t bd_addr;
|
bt_bdaddr_t bd_addr;
|
||||||
|
|
||||||
bdcpy(bd_addr.address, pairing_cb.bd_addr);
|
bdcpy(bd_addr.address, pairing_cb.bd_addr);
|
||||||
|
Reference in New Issue
Block a user