[Pcsclite-cvs-commit] r2085 - trunk/Drivers/ccid/src
Ludovic Rousseau
rousseau at costa.debian.org
Mon Jul 3 12:57:57 UTC 2006
Author: rousseau
Date: 2006-07-03 12:57:50 +0000 (Mon, 03 Jul 2006)
New Revision: 2085
Modified:
trunk/Drivers/ccid/src/ccid.c
Log:
ccid_open_hack(): the CL1356D firmware needs some time to initialize.
Wait 1 second here
Modified: trunk/Drivers/ccid/src/ccid.c
===================================================================
--- trunk/Drivers/ccid/src/ccid.c 2006-07-03 12:56:13 UTC (rev 2084)
+++ trunk/Drivers/ccid/src/ccid.c 2006-07-03 12:57:50 UTC (rev 2085)
@@ -225,6 +225,12 @@
case MYSMARTPAD:
ccid_descriptor->dwMaxIFSD = 254;
break;
+
+ case CL1356D:
+ /* the firmware needs some time to initialize */
+ sleep(1);
+ ccid_descriptor->readTimeout = 60; /* 60 seconds */
+ break;
}
return 0;
More information about the Pcsclite-cvs-commit
mailing list