diff --git a/components/bt/esp_ble_mesh/mesh_core/cfg_srv.c b/components/bt/esp_ble_mesh/mesh_core/cfg_srv.c index e02da1d5e9..b3c2b26096 100644 --- a/components/bt/esp_ble_mesh/mesh_core/cfg_srv.c +++ b/components/bt/esp_ble_mesh/mesh_core/cfg_srv.c @@ -1200,7 +1200,7 @@ static u8_t va_add(u8_t *label_uuid, u16_t *addr) if (update) { update->ref++; va_store(update); - return 0; + return STATUS_SUCCESS; } if (!free_slot) { @@ -1232,6 +1232,7 @@ static u8_t va_del(u8_t *label_uuid, u16_t *addr) } va_store(update); + return STATUS_SUCCESS; } if (addr) {