[Pcsclite-cvs-commit] r4964 - /trunk/PCSC/src/winscard.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Thu May 27 10:12:39 UTC 2010
Author: rousseau
Date: Thu May 27 10:12:34 2010
New Revision: 4964
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4964
Log:
SCardControl(): do not check for card events since we are talking to the
reader not the card.
A smart card removal should not make SCardControl() fail with
SCARD_W_REMOVED_CARD
Modified:
trunk/PCSC/src/winscard.c
Modified: trunk/PCSC/src/winscard.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard.c?rev=4964&op=diff
==============================================================================
--- trunk/PCSC/src/winscard.c (original)
+++ trunk/PCSC/src/winscard.c Thu May 27 10:12:34 2010
@@ -1387,12 +1387,6 @@
if (rv != SCARD_S_SUCCESS)
return rv;
- /*
- * Make sure some event has not occurred
- */
- if ((rv = RFCheckReaderEventState(rContext, hCard)) != SCARD_S_SUCCESS)
- return rv;
-
if (IFD_HVERSION_2_0 == rContext->version)
{
/* we must wrap a API 3.0 client in an API 2.0 driver */
More information about the Pcsclite-cvs-commit
mailing list