<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;"># This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.740   -&gt; 1.741  
#	drivers/usb/host/ohci-hcd.c	1.19    -&gt; 1.20   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/07/18	lists@mdiehl.de	1.741
# [PATCH] USB: patch to make USB_ZERO_PACKET work in ohci-hcd.c
# 
# --------------------------------------------
#
diff -Nru a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
--- a/drivers/usb/host/ohci-hcd.c	Fri Jul 19 11:04:12 2002
+++ b/drivers/usb/host/ohci-hcd.c	Fri Jul 19 11:04:12 2002
@@ -167,7 +167,7 @@
 			else if ((urb-&gt;transfer_flags &amp; USB_ZERO_PACKET) != 0
 				&amp;&amp; (urb-&gt;transfer_buffer_length
 					% usb_maxpacket (urb-&gt;dev, pipe,
-						usb_pipeout (pipe))) != 0)
+						usb_pipeout (pipe))) == 0)
 				size++;
 			break;
 		case PIPE_ISOCHRONOUS: /* number of packets from URB */
</pre></body></html>