aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2020-07-02 14:19:02 +0100
committerMichael Brown <mcb30@ipxe.org>2020-07-02 14:19:02 +0100
commit8ff5babb47ff593088583c4e0872785ebcc87ade (patch)
treea6a88d93b3fcb43e5c04754f68518610886c3f32
parent5d6fb7282966e3b77e6bb187d171511e8348c3c9 (diff)
downloadipxe-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.c4
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 );
}