PERFORCE change 144511 for review

Hans Petter Selasky hselasky at FreeBSD.org
Wed Jul 2 22:00:49 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=144511

Change 144511 by hselasky at hselasky_laptop001 on 2008/07/02 22:00:07

	
	Bugfix.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb2/bluetooth/ng_ubt2.c#3 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb2/bluetooth/ng_ubt2.c#3 (text+ko) ====

@@ -555,7 +555,7 @@
 	i = 0;
 	j = 0;
 	while (1) {
-	  uint16_t temp;
+		uint16_t temp;
 
 		ed = usb2_find_edesc(
 		    usb2_get_config_descriptor(uaa->device), 1, i, j);
@@ -575,6 +575,7 @@
 			wMaxPacketSize = temp;
 			alt_index = i;
 		}
+		j++;
 	}
 
 	if (usb2_set_alt_interface_index(uaa->device, 1, alt_index)) {


More information about the p4-projects mailing list