Просмотр исходного кода

fix(bt/bluedroid): Fix BLE remove bond list status

zhanghaipeng 2 лет назад
Родитель
Сommit
c1b39f7aa5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      components/bt/host/bluedroid/btc/core/btc_ble_storage.c

+ 1 - 1
components/bt/host/bluedroid/btc/core/btc_ble_storage.c

@@ -380,7 +380,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();