Merge branch 'bugfix/bug_ble_max_device_record_v5.4' into 'release/v5.4'

fix(ble/bluedroid): Fixed BLE incorrect device record count issue (v5.4)

See merge request espressif/esp-idf!43596
This commit is contained in:
Island
2025-11-27 18:25:48 +08:00
4 changed files with 13 additions and 10 deletions
@@ -1700,6 +1700,9 @@ tBTM_STATUS btm_ble_start_encrypt(BD_ADDR bda, BOOLEAN use_stk, BT_OCTET16 stk)
#if (SMP_INCLUDED == TRUE)
void btm_ble_link_encrypted(BD_ADDR bd_addr, UINT8 encr_enable)
{
#if BLE_INCLUDED == TRUE
l2cble_notify_le_connection(bd_addr);
#endif // BLE_INCLUDED == TRUE
tBTM_SEC_DEV_REC *p_dev_rec = btm_find_dev (bd_addr);
BOOLEAN enc_cback;