diff options
| author | Michael Brown | 2020-09-29 11:16:14 +0200 |
|---|---|---|
| committer | Michael Brown | 2020-09-29 11:16:14 +0200 |
| commit | f42ba772c8050da266b69504efff8e16f2fda8c2 (patch) | |
| tree | f303edaf028d4445e8aeba80d16a44fdc60330f5 /src/drivers/bus/pcimsix.c | |
| parent | [efi] Use address offset as reported by EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL (diff) | |
| download | ipxe-f42ba772c8050da266b69504efff8e16f2fda8c2.tar.gz ipxe-f42ba772c8050da266b69504efff8e16f2fda8c2.tar.xz ipxe-f42ba772c8050da266b69504efff8e16f2fda8c2.zip | |
[usb] Reset control endpoints immediately after failure
The current error handling mechanism defers the endpoint reset until
the next use of the endpoint, on the basis that errors are detected
during completions and completion handling should not recursively call
usb_poll().
In the case of usb_control(), we are already at the level that calls
usb_poll() and can therefore safely perform the endpoint reset
immediately. This has no impact on functionality, but does make
debugging traces easier to read since the reset will appear
immediately after the causative error.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/bus/pcimsix.c')
0 files changed, 0 insertions, 0 deletions
