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

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Thu Jan 13 10:29:52 UTC 2011


Author: rousseau
Date: Thu Jan 13 10:29:52 2011
New Revision: 5499

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5499
Log:
T1_card_timeout(): This is the card/reader timeout.  Add 1 second for
the libusb timeout so we get the error from the reader.

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=5499&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ifdhandler.c (original)
+++ trunk/Drivers/ccid/src/ifdhandler.c Thu Jan 13 10:29:52 2011
@@ -1996,6 +1996,10 @@
 
 	timeout = 260*EGT + BWT + 260*CWT;
 
+	/* This is the card/reader timeout.  Add 1 second for the libusb
+	 * timeout so we get the error from the reader. */
+	timeout += 1000;
+
 	return timeout;
 } /* T1_card_timeout  */
 




More information about the Pcsclite-cvs-commit mailing list