usb: hub: When no connection came up remove from scanning list
When after a timeout no connection came up then we have not only bail
out, but also remove the device from the scanning list. Otherwise it
can happen that the list never becomes empty and we probe forever.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 1f8c8af commit 62d565ba088c7cd8976e00935de9f2097f6bdc2e
@Sascha Hauer Sascha Hauer authored on 20 Mar 2020
Showing 1 changed file
View
drivers/usb/core/hub.c