PERFORCE change 148160 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Sat Aug 23 09:48:38 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=148160
Change 148160 by hselasky at 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);
}
}
More information about the p4-projects
mailing list