[SmartcardServices-Changes] [94] trunk/SmartCardServices/src/PCSC/readerfactory.c

source_changes at macosforge.org source_changes at macosforge.org
Thu Jan 7 07:38:50 PST 2010


Revision: 94
          http://trac.macosforge.org/projects/smartcardservices/changeset/94
Author:   ludovic.rousseau at gmail.com
Date:     2010-01-07 07:38:46 -0800 (Thu, 07 Jan 2010)
Log Message:
-----------
RFAwakeAllReaders(): restart all the slots of a reader, not just the
first one, when the computer comes back from hibernation

Modified Paths:
--------------
    trunk/SmartCardServices/src/PCSC/readerfactory.c

Modified: trunk/SmartCardServices/src/PCSC/readerfactory.c
===================================================================
--- trunk/SmartCardServices/src/PCSC/readerfactory.c	2010-01-07 13:43:31 UTC (rev 93)
+++ trunk/SmartCardServices/src/PCSC/readerfactory.c	2010-01-07 15:38:46 UTC (rev 94)
@@ -1128,7 +1128,8 @@
 			for (jx=0; jx < i; jx++)
 			{
 				if (((sReadersContexts[jx])->vHandle == (sReadersContexts[i])->vHandle)&&
-					((sReadersContexts[jx])->dwPort  == (sReadersContexts[i])->dwPort))
+					((sReadersContexts[jx])->dwPort  == (sReadersContexts[i])->dwPort)&&
+					((sReadersContexts[jx])->dwSlot  == (sReadersContexts[i])->dwSlot))
 				{
 					alreadyInitializedFlag = 1;
 				}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/smartcardservices-changes/attachments/20100107/5e340c98/attachment.html>


More information about the SmartcardServices-Changes mailing list