PERFORCE change 131545 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Mon Dec 24 14:15:52 PST 2007
http://perforce.freebsd.org/chv.cgi?CH=131545
Change 131545 by hselasky at hselasky_laptop001 on 2007/12/24 22:15:11
Some bugfixes.
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb/usb_template.c#8 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb/usb_template.c#8 (text+ko) ====
@@ -172,6 +172,7 @@
}
}
}
+ temp->bNumEndpoints ++;
return;
}
@@ -229,7 +230,7 @@
id = USBD_ADD_BYTES(temp->buf, old_size);
id->bLength = sizeof(*id);
id->bDescriptorType = UDESC_INTERFACE;
- id->bInterfaceNumber = temp->bInterfaceNumber - 1;
+ id->bInterfaceNumber = temp->bInterfaceNumber;
id->bAlternateSetting = temp->bAlternateSetting;
id->bNumEndpoints = temp->bNumEndpoints;
id->bInterfaceClass = tid->bInterfaceClass;
More information about the p4-projects
mailing list