Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2007 22:15:51 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 131545 for review
Message-ID:  <200712242215.lBOMFpbh036359@repoman.freebsd.org>

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

Change 131545 by hselasky@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;



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