fix(ble/bluedroid): fixed BLE bond error after reboot

This commit is contained in:
zhiweijian
2023-10-10 15:47:26 +08:00
parent ea81f4c4a3
commit d86a990be5
4 changed files with 182 additions and 23 deletions
@@ -592,7 +592,7 @@ void btm_consolidate_dev(tBTM_SEC_DEV_REC *p_target_rec)
p_target_rec->ble.ble_addr_type = p_dev_rec->ble.ble_addr_type;
p_target_rec->device_type |= p_dev_rec->device_type;
/* Remove the unused device from the list */
list_remove(btm_cb.p_sec_dev_rec_list, p_dev_rec);
list_remove(btm_cb.p_sec_dev_rec_list, p_dev_rec);
}
break;
}