SCardGetStatusChange(): use |= instead of = to set SCARD_STATE_CHANGED
bit in case (dwState & SCARD_UNKNOWN)
1 lines of code changed in 1 file:
add --reparagraph to svn2cl arguments
1 lines of code changed in 1 file:
move definition of time_sub() before its first use
16 lines of code changed in 1 file:
reformat lock/unlock comments
28 lines of code changed in 1 file:
move locking from IFDSetPTS() to 2 levels above in SCardConnect() and
SCardReconnect(). The value of rContext->readerState->cardProtocol is
then checked and modified in an atomic transaction
This avoids to renegociate the protocol and confuse the card if two
applications perform a SCardConnect() at the same time (after they are
both blocked by SCardGetStatusChange() and a card is inserted for example)
Error returned by CCID driver is: CCID_Receive Procedure byte conflict
32 lines of code changed in 2 files:
#include "utils.h"
winscard.c:497: attention : implicit declaration of function �StatSynchronize�
1 lines of code changed in 1 file:
SendHotplugSignal(): wait for 1 second after send the signal to avoid a
busy loop if the device died by HAL did not noticed
1 lines of code changed in 1 file:
remove --disable-libhal
0 lines of code changed in 1 file:
EHStatusHandlerThread(): remove commented and never used code to restart
a reader after 10 IFDStatusICC() errors
0 lines of code changed in 1 file:
call CheckForOpenCT() if RFAddReader() fails.
The first cause of pcsc-lite failure is that OpenCT is installed and
running and has already claimed the USB device. In that case
RFAddReader() fails and I get a user support request
8 lines of code changed in 2 files:
add CheckForOpenCT()
24 lines of code changed in 2 files: