diff --git a/src/pcsc.hxx b/src/pcsc.hxx index 650c946..a4a995d 100644 --- a/src/pcsc.hxx +++ b/src/pcsc.hxx @@ -320,7 +320,7 @@ namespace pcsc { reconnect, first transaction (SCardTransmit) fails with SCARD_W_RESET_CARD (0x80100068). */ - if (_status==SCARD_W_RESET_CARD) { // just resend once + if (_state==SCARD_W_RESET_CARD) { // just resend once check(SCardTransmit(_id, &rPci, (LPCBYTE)in.c_str(), in.size(),