Permalink
Browse files

RFAwakeAllReaders(): restart all the slots of a reader, not just the

first one, when the computer comes back from hibernation

git-svn-id: https://svn.macosforge.org/repository/smartcardservices/trunk@94 6beaa694-74da-4ea8-86b6-2f242058810b
  • Loading branch information...
1 parent 901a0c2 commit a3b7abb6234cc95c2fe223309fbca94f70bbcb13 Ludovic Rousseau committed Jan 7, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 SmartCardServices/src/PCSC/readerfactory.c
@@ -1128,7 +1128,8 @@ void RFAwakeAllReaders(void)
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;
}

0 comments on commit a3b7abb

Please sign in to comment.