[Pcsclite-cvs-commit] r6348 - /trunk/Drivers/ccid/src/ccid_usb.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Wed Jun 20 06:43:28 UTC 2012


Author: rousseau
Date: Wed Jun 20 06:43:28 2012
New Revision: 6348

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6348
Log:
OpenUSBByName(): Add debug log message when the interface found is not
the one we are looking for.

This is in particular interesting for a composite device and the CCID
driver compiled with --enable-composite-as-multislot

Modified:
    trunk/Drivers/ccid/src/ccid_usb.c

Modified: trunk/Drivers/ccid/src/ccid_usb.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ccid_usb.c?rev=6348&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ccid_usb.c (original)
+++ trunk/Drivers/ccid/src/ccid_usb.c Wed Jun 20 06:43:28 2012
@@ -495,6 +495,8 @@
 				{
 					/* an interface was specified and it is not the
 					 * current one */
+					DEBUG_INFO3("Found interface %d but expecting %d",
+						interface_number, interface);
 					DEBUG_INFO3("Wrong interface for USB device %d/%d."
 						" Checking next one.", bus_number, device_address);
 




More information about the Pcsclite-cvs-commit mailing list