Commit 7b6e8217 authored by Martin Diehl's avatar Martin Diehl Committed by Greg Kroah-Hartman

[PATCH] USB: patch to make USB_ZERO_PACKET work in ohci-hcd.c

parent b55a0266
...@@ -167,7 +167,7 @@ static int ohci_urb_enqueue ( ...@@ -167,7 +167,7 @@ static int ohci_urb_enqueue (
else if ((urb->transfer_flags & USB_ZERO_PACKET) != 0 else if ((urb->transfer_flags & USB_ZERO_PACKET) != 0
&& (urb->transfer_buffer_length && (urb->transfer_buffer_length
% usb_maxpacket (urb->dev, pipe, % usb_maxpacket (urb->dev, pipe,
usb_pipeout (pipe))) != 0) usb_pipeout (pipe))) == 0)
size++; size++;
break; break;
case PIPE_ISOCHRONOUS: /* number of packets from URB */ case PIPE_ISOCHRONOUS: /* number of packets from URB */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment