Skip to content
Snippets Groups Projects
Commit b9e749e9 authored by Markus Klotzbuecher's avatar Markus Klotzbuecher
Browse files

USB, Storage: fix a bug introduced in commit

f6b44e0e that will cause usb_stor_info
to only print only information on one storage device, but not for
multiple.

Signed-off-by: default avatarMarkus Klotzbuecher <mk@denx.de>
parent 841e5edd
No related branches found
No related tags found
No related merge requests found
......@@ -196,13 +196,13 @@ int usb_stor_info(void)
for (i = 0; i < usb_max_devs; i++) {
printf (" Device %d: ", i);
dev_print(&usb_dev_desc[i]);
}
return 0;
}
} else {
printf("No storage devices, perhaps not 'usb start'ed..?\n");
return 1;
}
}
/*********************************************************************************
* scan the usb and reports device info
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment