-
Committer:
Michael Brown
-
Date:
2020-07-04 11:00:37 UTC
-
Revision ID:
git-v1:586b723733904c0825844582dd19a44c71bc972b
[usb] Leave port enabled after a failed device registration
A failure in device registration (e.g. due to a device with malformed
descriptors) will currently result in the port being disabled as part
of the error path. This in turn causes the hardware to detect the
device as newly connected, leading to an endless loop of failed device
registrations.
Fix by leaving the port enabled in the case of a registration failure.
Signed-off-by: Michael Brown <mcb30@ipxe.org>