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

ludovic.rousseau at free.fr ludovic.rousseau at free.fr
Tue Jan 28 13:15:23 UTC 2014


Author: rousseau
Date: 2014-01-28 13:15:22 +0000 (Tue, 28 Jan 2014)
New Revision: 6831

Modified:
   trunk/Drivers/ccid/src/ccid_serial.c
Log:
set_ccid_descriptor(): initialize .ccid.readTimeout

The read timeout was not initialized. I don't know how it was working.


Modified: trunk/Drivers/ccid/src/ccid_serial.c
===================================================================
--- trunk/Drivers/ccid/src/ccid_serial.c	2014-01-24 20:04:24 UTC (rev 6830)
+++ trunk/Drivers/ccid/src/ccid_serial.c	2014-01-28 13:15:22 UTC (rev 6831)
@@ -598,6 +598,7 @@
 	serialDevice[reader_index].ccid.dwMaxDataRate = 344086;
 	serialDevice[reader_index].ccid.bMaxSlotIndex = 0;
 	serialDevice[reader_index].ccid.arrayOfSupportedDataRates = SerialTwinDataRates;
+	serialDevice[reader_index].ccid.readTimeout = DEFAULT_COM_READ_TIMEOUT;
 	serialDevice[reader_index].ccid.dwSlotStatus = IFD_ICC_PRESENT;
 	serialDevice[reader_index].ccid.bVoltageSupport = 0x07;	/* 1.8V, 3V and 5V */
 	serialDevice[reader_index].ccid.gemalto_firmware_features = NULL;




More information about the Pcsclite-cvs-commit mailing list