Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2008 09:48:37 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 148160 for review
Message-ID:  <200808230948.m7N9mbX2063112@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=148160

Change 148160 by hselasky@hselasky_laptop001 on 2008/08/23 09:48:00

	
	Fix an off-by-one issue.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb2/core/usb2_transfer.c#21 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb2/core/usb2_transfer.c#21 (text+ko) ====

@@ -529,7 +529,7 @@
 
 			usb2_set_frame_offset(xfer, 0, 0);
 
-			if (type == UE_CONTROL) {
+			if ((type == UE_CONTROL) && (n_frbuffers > 1)) {
 				usb2_set_frame_offset(xfer, REQ_SIZE, 1);
 			}
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808230948.m7N9mbX2063112>