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

ludovic.rousseau at free.fr ludovic.rousseau at free.fr
Mon Jul 21 19:20:29 UTC 2014


Author: rousseau
Date: 2014-07-21 19:20:29 +0000 (Mon, 21 Jul 2014)
New Revision: 6940

Modified:
   trunk/Drivers/ccid/src/ccid.c
Log:
Remove bogus treatment for CARDMAN3121

The code was not used by the old CARDMAN3121 but had a side effect for a
new version of the Cardman 3121 with Product ID increased by 1.

This code was present since the first version of the file in subversion
or CVS (September 2003). I do not remember why I added this code, more
than 10 years ago.

Thanks to Maximilian Stein for the bug report
http://lists.alioth.debian.org/pipermail/pcsclite-muscle/Week-of-Mon-20140714/000073.html


Modified: trunk/Drivers/ccid/src/ccid.c
===================================================================
--- trunk/Drivers/ccid/src/ccid.c	2014-07-11 19:41:53 UTC (rev 6939)
+++ trunk/Drivers/ccid/src/ccid.c	2014-07-21 19:20:29 UTC (rev 6940)
@@ -58,12 +58,6 @@
 
 	switch (ccid_descriptor->readerID)
 	{
-		case CARDMAN3121+1:
-			/* Reader announces APDU but is in fact TPDU */
-			ccid_descriptor->dwFeatures &= ~CCID_CLASS_EXCHANGE_MASK;
-			ccid_descriptor->dwFeatures |= CCID_CLASS_TPDU;
-			break;
-
 		case MYSMARTPAD:
 			ccid_descriptor->dwMaxIFSD = 254;
 			break;




More information about the Pcsclite-cvs-commit mailing list