[usb] Add missing usb_recycle() for completed hub interrupt transfers

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/119/head
Michael Brown 2020-07-02 14:19:02 +01:00
parent 5d6fb72829
commit 8ff5babb47
1 changed files with 4 additions and 0 deletions

View File

@ -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 );
}