diff options
author | Michael Brown <mcb30@ipxe.org> | 2020-07-02 14:19:02 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2020-07-02 14:19:02 +0100 |
commit | 8ff5babb47ff593088583c4e0872785ebcc87ade (patch) | |
tree | a6a88d93b3fcb43e5c04754f68518610886c3f32 | |
parent | 5d6fb7282966e3b77e6bb187d171511e8348c3c9 (diff) | |
download | ipxe-8ff5babb47ff593088583c4e0872785ebcc87ade.zip ipxe-8ff5babb47ff593088583c4e0872785ebcc87ade.tar.gz ipxe-8ff5babb47ff593088583c4e0872785ebcc87ade.tar.bz2 |
[usb] Add missing usb_recycle() for completed hub interrupt transfers
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-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 47914bc..cd78158 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 ); } |