From a84c563c1e6c53af7dc82a3a8b31ab626ec5d5a1 Mon Sep 17 00:00:00 2001 From: zhanghaipeng Date: Mon, 30 Oct 2023 17:45:38 +0800 Subject: [PATCH] fix(bt/bluedroid): Fix BLE remove bond list status --- components/bt/host/bluedroid/btc/core/btc_ble_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/host/bluedroid/btc/core/btc_ble_storage.c b/components/bt/host/bluedroid/btc/core/btc_ble_storage.c index 8422d7e354..4d01a0947f 100644 --- a/components/bt/host/bluedroid/btc/core/btc_ble_storage.c +++ b/components/bt/host/bluedroid/btc/core/btc_ble_storage.c @@ -379,7 +379,7 @@ static bt_status_t _btc_storage_remove_ble_bonding_keys(bt_bdaddr_t *remote_bd_a BTIF_TRACE_DEBUG(" %s in bd addr:%s",__FUNCTION__, bdstr); - _btc_storage_remove_all_ble_keys(bdstr); + ret = _btc_storage_remove_all_ble_keys(bdstr); //here don't remove section, because config_save will check it _btc_storage_save();