mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 04:50:25 +03:00
[usb] Allow USB endpoints to specify a reserved header length for refills
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -472,7 +472,7 @@ static int efi_usb_async_start ( struct efi_usb_interface *usbintf,
|
||||
usbep->context = context;
|
||||
|
||||
/* Prefill endpoint */
|
||||
usb_refill_init ( &usbep->ep, len, EFI_USB_ASYNC_FILL );
|
||||
usb_refill_init ( &usbep->ep, 0, len, EFI_USB_ASYNC_FILL );
|
||||
if ( ( rc = usb_prefill ( &usbep->ep ) ) != 0 ) {
|
||||
DBGC ( usbdev, "USBDEV %s %s could not prefill: %s\n",
|
||||
usbintf->name, usb_endpoint_name ( &usbep->ep ),
|
||||
|
||||
Reference in New Issue
Block a user