summaryrefslogtreecommitdiff
path: root/common/usb_hub.c
diff options
context:
space:
mode:
authorCristian Ciocaltea <cristian.ciocaltea@gmail.com>2018-12-18 20:03:49 +0200
committerTom Rini <trini@konsulko.com>2018-12-26 21:21:07 -0500
commit8efae021db1166ea07be0b2eda7f074d767843ea (patch)
tree215aa56505d6c94cc6ca5768664206a78ffca756 /common/usb_hub.c
parenta7f4b4b344396590845e6552c82829ef68ef9f89 (diff)
api: storage: Fix enumeration of storage devices
dev_stor_get() is not able to find the next available device in the current storage group when the previous enumerated device belongs to a different group or class (e.g. network). The root cause is the device group iterator not being reset after an unsuccessful search for the last returned device so that the following search for the next available device will start from beginning. The issue has been identified by loading and booting GRUB in a QEMU vexpress-a9 environment. Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@iquestgroup.com>
Diffstat (limited to 'common/usb_hub.c')
0 files changed, 0 insertions, 0 deletions