PERFORCE change 169993 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Sat Oct 31 13:11:13 UTC 2009
http://p4web.freebsd.org/chv.cgi?CH=169993
Change 169993 by hselasky at hselasky_laptop001 on 2009/10/31 13:11:03
USB CORE:
- fix issue introduced in last patch
- use correct length field in Linux Compat code.
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb/usb_compat_linux.c#51 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb/usb_compat_linux.c#51 (text+ko) ====
@@ -1362,7 +1362,7 @@
for (x = 0; x < urb->number_of_packets; x++) {
uipd = urb->iso_frame_desc + x;
- if (uipd->actual_length > xfer->frlengths[x]) {
+ if (uipd->length > xfer->frlengths[x]) {
if (urb->transfer_flags & URB_SHORT_NOT_OK) {
/* XXX should be EREMOTEIO */
uipd->status = -EPIPE;
More information about the p4-projects
mailing list