From f8c4e29db99b11420226877a3be2f7d0d33d5a0b Mon Sep 17 00:00:00 2001 From: Astha Verma Date: Fri, 24 Jan 2025 11:52:36 +0530 Subject: [PATCH] fix(nimble): fix variable name vvs_idx to nvs_idx --- nimble/host/store/config/src/ble_store_nvs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimble/host/store/config/src/ble_store_nvs.c b/nimble/host/store/config/src/ble_store_nvs.c index 28e645621..f34306ac4 100644 --- a/nimble/host/store/config/src/ble_store_nvs.c +++ b/nimble/host/store/config/src/ble_store_nvs.c @@ -807,7 +807,7 @@ int ble_store_config_persist_eads(void) return ble_store_nvs_write(BLE_STORE_OBJ_TYPE_ENC_ADV_DATA, &val); } else if (nvs_count > ble_store_config_num_eads) { /* NVS db count more than RAM count, delete operation */ - vvs_idx = get_nvs_db_attribute(BLE_STORE_OBJ_TYPE_ENC_ADV_DATA, 0, + nvs_idx = get_nvs_db_attribute(BLE_STORE_OBJ_TYPE_ENC_ADV_DATA, 0, ble_store_config_eads, ble_store_config_num_eads); if (nvs_idx == -1) { ESP_LOGE(TAG, "NVS delete operation failed for EAD");