[Pcsclite-cvs-commit] r2393 - trunk/Drivers/ccid/src

Ludovic Rousseau rousseau at alioth.debian.org
Sat Feb 10 20:45:52 CET 2007


Author: rousseau
Date: 2007-02-10 20:45:51 +0100 (Sat, 10 Feb 2007)
New Revision: 2393

Modified:
   trunk/Drivers/ccid/src/ccid_usb.c
Log:
get_end_points(): correct bug in revision 2392


Modified: trunk/Drivers/ccid/src/ccid_usb.c
===================================================================
--- trunk/Drivers/ccid/src/ccid_usb.c	2007-02-10 19:43:13 UTC (rev 2392)
+++ trunk/Drivers/ccid/src/ccid_usb.c	2007-02-10 19:45:51 UTC (rev 2393)
@@ -605,7 +605,7 @@
 	/*
 	 * 3 Endpoints maximum: Interrupt In, Bulk In, Bulk Out
 	 */
-	for (i=0; i<dev->config->bNumEndpoints; i++)
+	for (i=0; i<usb_interface->altsetting->bNumEndpoints; i++)
 	{
 		if (usb_interface->altsetting->endpoint[i].bmAttributes != USB_ENDPOINT_TYPE_BULK)
 			continue;




More information about the Pcsclite-cvs-commit mailing list