Skip to content

Commit ca1de2f

Browse files
finikorgcarlescufi
authored andcommitted
tests: btp_mesh: Check correct error code
Check actual error code. Signed-off-by: Andrei Emeltchenko <[email protected]>
1 parent 2248394 commit ca1de2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/bluetooth/tester/src/btp_mesh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3801,7 +3801,7 @@ static void dfu_slot_add(size_t size, uint8_t *fwid, size_t fwid_len,
38013801
return;
38023802
}
38033803

3804-
bt_mesh_dfu_slot_commit(slot);
3804+
err = bt_mesh_dfu_slot_commit(slot);
38053805
if (err) {
38063806
LOG_ERR("Failed to commit slot: %d", err);
38073807
return;

0 commit comments

Comments
 (0)