Skip to content

Commit

Permalink
tests: btp_mesh: Check correct error code
Browse files Browse the repository at this point in the history
Check actual error code.

Signed-off-by: Andrei Emeltchenko <[email protected]>
  • Loading branch information
finikorg authored and carlescufi committed Oct 3, 2023
1 parent 2248394 commit ca1de2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bluetooth/tester/src/btp_mesh.c
Original file line number Diff line number Diff line change
Expand Up @@ -3801,7 +3801,7 @@ static void dfu_slot_add(size_t size, uint8_t *fwid, size_t fwid_len,
return;
}

bt_mesh_dfu_slot_commit(slot);
err = bt_mesh_dfu_slot_commit(slot);
if (err) {
LOG_ERR("Failed to commit slot: %d", err);
return;
Expand Down

0 comments on commit ca1de2f

Please sign in to comment.