[Pcsclite-cvs-commit] r4417 - /trunk/Drivers/ccid/src/ifdhandler.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Oct 2 12:40:06 UTC 2009


Author: rousseau
Date: Fri Oct  2 12:40:06 2009
New Revision: 4417

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4417
Log:
revert change in revision 4414. It is a bug in the reader not the driver

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

Modified: trunk/Drivers/ccid/src/ifdhandler.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ifdhandler.c?rev=4417&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ifdhandler.c (original)
+++ trunk/Drivers/ccid/src/ifdhandler.c Fri Oct  2 12:40:06 2009
@@ -967,10 +967,7 @@
 			}
 
 		/* IFSD not negociated by the reader? */
-		if (! (ccid_desc->dwFeatures & CCID_CLASS_AUTO_IFSD)
-			/* and reader is in Character or TPDU mode? */
-			&& (((ccid_desc->dwFeatures & CCID_CLASS_EXCHANGE_MASK) == CCID_CLASS_CHARACTER)
-			|| ((ccid_desc->dwFeatures & CCID_CLASS_EXCHANGE_MASK) == CCID_CLASS_TPDU)))
+		if (! (ccid_desc->dwFeatures & CCID_CLASS_AUTO_IFSD))
 		{
 			DEBUG_COMM2("Negociate IFSD at %d", ccid_desc -> dwMaxIFSD);
 			if (t1_negotiate_ifsd(t1, 0, ccid_desc -> dwMaxIFSD) < 0)




More information about the Pcsclite-cvs-commit mailing list