mesh: Fixes wrong return value
Fixes missing return value on va_del
Fixes wrong return value on va_add
this is port of
@@ -1149,7 +1149,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) {
@@ -1181,6 +1181,7 @@ static u8_t va_del(u8_t *label_uuid, u16_t *addr)
}
va_store(update);
+ return STATUS_SUCCESS;
}
if (addr) {
