diff options
author | Michael Brown | 2016-01-19 01:01:11 +0100 |
---|---|---|
committer | Michael Brown | 2016-01-19 01:01:11 +0100 |
commit | 71b83a6d00caedb62cc62a5810f99a7a1478f2ae (patch) | |
tree | 8e1224923a381d42a60f4bac985868e5294dad66 /src/interface/efi | |
parent | [smsc95xx] Enable LEDs (diff) | |
download | ipxe-71b83a6d00caedb62cc62a5810f99a7a1478f2ae.tar.gz ipxe-71b83a6d00caedb62cc62a5810f99a7a1478f2ae.tar.xz ipxe-71b83a6d00caedb62cc62a5810f99a7a1478f2ae.zip |
[usb] Allow USB endpoints to specify a reserved header length for refills
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi')
-rw-r--r-- | src/interface/efi/efi_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/efi/efi_usb.c b/src/interface/efi/efi_usb.c index 94f21610..db8c3d34 100644 --- a/src/interface/efi/efi_usb.c +++ b/src/interface/efi/efi_usb.c @@ -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 ), |