@@ -374,10 +374,12 @@
j = maxpacket_maxes[usb_endpoint_type(&endpoint->desc)];
if (maxp > j) {
- dev_warn(ddev, "config %d interface %d altsetting %d endpoint 0x%X has invalid
maxpacket %d, setting to %d\n",
+ dev_warn(ddev, "config %d interface %d altsetting %d endpoint 0x%X has invalid
maxpacket %d, setting to %d (IGNORED!)\n",
cfgno, inum, asnum, d->bEndpointAddress, maxp, j);
+ #if 0
maxp = j;
endpoint->desc.wMaxPacketSize = cpu_to_le16(i | maxp);
-------------------- CUT LINE -------------------