workaround Mac OS X 10.10 PCSC bug; refs #34

This commit is contained in:
Marc Wäckerlin
2014-11-11 14:04:44 +00:00
parent c871e3b2eb
commit e3f8efefc3

View File

@@ -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(),