[Pcsclite-cvs-commit] r6478 - /trunk/Drivers/ccid/src/ifdhandler.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Wed Oct 31 15:20:20 UTC 2012
Author: rousseau
Date: Wed Oct 31 15:20:20 2012
New Revision: 6478
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6478
Log:
IFDHSetProtocolParameters(): display the timeout
If the reader has CCID_CLASS_AUTO_PPS_PROP then the negociations are
done by the reader itself and the default timeout
DEFAULT_COM_READ_TIMEOUT is used.
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=6478&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ifdhandler.c (original)
+++ trunk/Drivers/ccid/src/ifdhandler.c Wed Oct 31 15:20:20 2012
@@ -678,7 +678,10 @@
/* Do not send CCID command SetParameters or PPS to the CCID
* The CCID will do this himself */
if (ccid_desc->dwFeatures & CCID_CLASS_AUTO_PPS_PROP)
+ {
+ DEBUG_COMM2("Timeout: %d ms", ccid_desc->readTimeout);
goto end;
+ }
/* Get ATR of the card */
(void)ATR_InitFromArray(&atr, ccid_slot->pcATRBuffer,
More information about the Pcsclite-cvs-commit
mailing list