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

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Mon Nov 8 14:24:45 UTC 2010


Author: rousseau
Date: Mon Nov  8 14:24:34 2010
New Revision: 5389

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5389
Log:
IFDHCreateChannelByName(): increase the timeout from 100ms to 1000ms to
give more time to the reader to setup and answer.

100ms is too short for the Kobil KAAN Base for example.

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=5389&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ifdhandler.c (original)
+++ trunk/Drivers/ccid/src/ifdhandler.c Mon Nov  8 14:24:34 2010
@@ -119,8 +119,8 @@
 		/* save the current read timeout computed from card capabilities */
 		oldReadTimeout = ccid_descriptor->readTimeout;
 
-		/* 100ms just to resync the USB toggle bits */
-		ccid_descriptor->readTimeout = 100;
+		/* 1000ms just to resync the USB toggle bits */
+		ccid_descriptor->readTimeout = 1000;
 
 		/* Try to access the reader */
 		/* This "warm up" sequence is sometimes needed when pcscd is




More information about the Pcsclite-cvs-commit mailing list