[Pcsclite-cvs-commit] r2917 - /trunk/PCSC/src/eventhandler.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Tue Apr 29 14:08:14 UTC 2008


Author: rousseau
Date: Tue Apr 29 14:08:13 2008
New Revision: 2917

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=2917
Log:
EHStatusHandlerThread(): do not set card state to SCARD_RESET when a
card is inserted. Keep the state to SCARD_REMOVED

See
http://www.opensc-project.org/pipermail/opensc-devel/2008-April/011121.html

Modified:
    trunk/PCSC/src/eventhandler.c

Modified: trunk/PCSC/src/eventhandler.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/eventhandler.c?rev=2917&op=diff
==============================================================================
--- trunk/PCSC/src/eventhandler.c (original)
+++ trunk/PCSC/src/eventhandler.c Tue Apr 29 14:08:13 2008
@@ -410,11 +410,6 @@
 					rContext->readerState->readerState &= ~SCARD_SPECIFIC;
 					rContext->readerState->readerState &= ~SCARD_UNKNOWN;
 					rContext->readerState->readerState &= ~SCARD_SWALLOWED;
-
-					/*
-					 * Notify the card has been reset
-					 */
-					RFSetReaderEventState(rContext, SCARD_RESET);
 				}
 				else
 				{




More information about the Pcsclite-cvs-commit mailing list