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

Ludovic Rousseau rousseau at costa.debian.org
Wed Jan 11 10:39:55 UTC 2006


Author: rousseau
Date: 2006-01-11 10:39:54 +0000 (Wed, 11 Jan 2006)
New Revision: 1795

Modified:
   trunk/Drivers/ccid/src/Info.plist
   trunk/Drivers/ccid/src/ccid.c
Log:
move the comment about APDU mode from ccid_open_hack() to Info.plist
since it is configured there


Modified: trunk/Drivers/ccid/src/Info.plist
===================================================================
--- trunk/Drivers/ccid/src/Info.plist	2006-01-11 10:34:06 UTC (rev 1794)
+++ trunk/Drivers/ccid/src/Info.plist	2006-01-11 10:39:54 UTC (rev 1795)
@@ -46,8 +46,10 @@
 	2: DRIVER_OPTION_GEMPC_TWIN_KEY_APDU
 		If set the GemPC Twin and GemPC Key readers with be configured
 		so that the T=1 TPDU protocol is done by the firmware instead of
-		the driver
-	
+		the driver.
+		This switches the reader in APDU mode and also in EMV mode so
+		may not work with non EMV cards.
+
 	4: DRIVER_OPTION_USE_BOGUS_FIRMWARE
 		Some reader firmwares have bugs. By default the driver refuses
 		to work with such firmware versions. If your reader is rejected

Modified: trunk/Drivers/ccid/src/ccid.c
===================================================================
--- trunk/Drivers/ccid/src/ccid.c	2006-01-11 10:34:06 UTC (rev 1794)
+++ trunk/Drivers/ccid/src/ccid.c	2006-01-11 10:39:54 UTC (rev 1795)
@@ -49,10 +49,6 @@
 			ccid_descriptor->dwFeatures |= CCID_CLASS_TPDU;
 			break;
 
-			/*
-			 * Do not switch to APDU mode since it also swicth in EMV mode and
-			 * may not work with non EMV cards
-			 */
 		case GEMPCKEY:
 		case GEMPCTWIN:
 			/* Reader announces TPDU but can do APDU */




More information about the Pcsclite-cvs-commit mailing list