summaryrefslogtreecommitdiff
path: root/cmd/dfu.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dfu.c')
-rw-r--r--cmd/dfu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dfu.c b/cmd/dfu.c
index ef4f897ce0..4a288f74c2 100644
--- a/cmd/dfu.c
+++ b/cmd/dfu.c
@@ -68,7 +68,7 @@ static int do_dfu(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
int controller_index = simple_strtoul(usb_controller, NULL, 0);
bool retry = false;
do {
- run_usb_dnl_gadget(controller_index, "usb_dnl_dfu");
+ ret = run_usb_dnl_gadget(controller_index, "usb_dnl_dfu");
if (dfu_reinit_needed) {
dfu_free_entities();