Commit 4e736c11 authored by Ludovic Rousseau's avatar Ludovic Rousseau

Remove 2 outdated comments about card always powered on

Since "Card auto power on and off" feature as been introduced in 2010
the card is _not_ always powered.

Thanks to Jan Parcel for the bug report.
parent 53ab2bc8
......@@ -583,9 +583,6 @@ LONG SCardReconnect(SCARDHANDLE hCard, DWORD dwShareMode,
RFSetReaderEventState(rContext, SCARD_RESET);
* Currently pcsc-lite keeps the card powered constantly
dwAtrLen = sizeof(rContext->readerState->cardAtr);
if (SCARD_RESET_CARD == dwInitialization)
rv = IFDPowerICC(rContext, IFD_RESET,
......@@ -1137,9 +1134,6 @@ LONG SCardEndTransaction(SCARDHANDLE hCard, DWORD dwDisposition)
DWORD dwAtrLen;
* Currently pcsc-lite keeps the card always powered
dwAtrLen = sizeof(rContext->readerState->cardAtr);
if (SCARD_RESET_CARD == dwDisposition)
rv = IFDPowerICC(rContext, IFD_RESET,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment