fix(nimble): fix variable name vvs_idx to nvs_idx

This commit is contained in:
Astha Verma
2025-01-24 11:52:36 +05:30
parent c031e1441c
commit f8c4e29db9
+1 -1
View File
@@ -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");