mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
Merge branch 'bugfix/btdm_fix_bt_security_info_restore_bug' into 'master'
btdm:BT device security info resetore bug See merge request espressif/esp-idf!6031
This commit is contained in:
@@ -81,6 +81,7 @@ BOOLEAN BTM_SecAddDevice (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name,
|
|||||||
p_dev_rec->sec_flags = BTM_SEC_IN_USE;
|
p_dev_rec->sec_flags = BTM_SEC_IN_USE;
|
||||||
memcpy (p_dev_rec->bd_addr, bd_addr, BD_ADDR_LEN);
|
memcpy (p_dev_rec->bd_addr, bd_addr, BD_ADDR_LEN);
|
||||||
p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR);
|
p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR);
|
||||||
|
p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_LE);
|
||||||
|
|
||||||
#if BLE_INCLUDED == TRUE
|
#if BLE_INCLUDED == TRUE
|
||||||
/* use default value for background connection params */
|
/* use default value for background connection params */
|
||||||
|
Reference in New Issue
Block a user