diff options
| author | Michael Brown | 2020-07-02 15:19:02 +0200 |
|---|---|---|
| committer | Michael Brown | 2020-07-02 15:19:02 +0200 |
| commit | 8ff5babb47ff593088583c4e0872785ebcc87ade (patch) | |
| tree | a6a88d93b3fcb43e5c04754f68518610886c3f32 /src | |
| parent | [usb] Clear device endpoint halt before resetting host endpoint (diff) | |
| download | ipxe-8ff5babb47ff593088583c4e0872785ebcc87ade.tar.gz ipxe-8ff5babb47ff593088583c4e0872785ebcc87ade.tar.xz ipxe-8ff5babb47ff593088583c4e0872785ebcc87ade.zip | |
[usb] Add missing usb_recycle() for completed hub interrupt transfers
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/drivers/usb/usbhub.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/usb/usbhub.c b/src/drivers/usb/usbhub.c index 47914bcdb..cd7815834 100644 --- a/src/drivers/usb/usbhub.c +++ b/src/drivers/usb/usbhub.c @@ -110,6 +110,10 @@ static void hub_complete ( struct usb_endpoint *ep, } done: + + /* Recycle I/O buffer */ + usb_recycle ( &hubdev->intr, iobuf ); + /* Start refill process */ process_add ( &hubdev->refill ); } |
