Revision
94
Author
ludovic.rousseau@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

Diff

Modified: trunk/SmartCardServices/src/PCSC/readerfactory.c (93 => 94)


--- 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;
 				}