[Pcsclite-cvs-commit] r4389 - /trunk/Drivers/ccid/src/commands.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Tue Sep 22 08:11:22 UTC 2009
Author: rousseau
Date: Tue Sep 22 08:11:21 2009
New Revision: 4389
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4389
Log:
SecurePINVerify(): circumvent a Dell keyboard problem
avoid the command rejection because the Enter key is still
pressed. Wait a bit (250ms) for the (Enter) key to be released.
Modified:
trunk/Drivers/ccid/src/commands.c
Modified: trunk/Drivers/ccid/src/commands.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/commands.c?rev=4389&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/commands.c (original)
+++ trunk/Drivers/ccid/src/commands.c Tue Sep 22 08:11:21 2009
@@ -357,6 +357,10 @@
TxBuffer[8]);
TxBuffer[8] = 0x00;
}
+
+ /* avoid the command rejection because the Enter key is still
+ * pressed. Wait a bit for the key to be released */
+ (void)usleep(250*1000);
}
if (DELLSK == ccid_descriptor->readerID)
More information about the Pcsclite-cvs-commit
mailing list