reader-pcsc: fixed default for disconnect_action
Initialize it to "leave", even if no pcsc configuration block was given.
This commit is contained in:
parent
dd1a606d0d
commit
4e83e2e1b3
|
@ -762,7 +762,7 @@ static int pcsc_init(sc_context_t *ctx)
|
||||||
/* PC/SC Defaults */
|
/* PC/SC Defaults */
|
||||||
gpriv->provider_library = DEFAULT_PCSC_PROVIDER;
|
gpriv->provider_library = DEFAULT_PCSC_PROVIDER;
|
||||||
gpriv->connect_exclusive = 0;
|
gpriv->connect_exclusive = 0;
|
||||||
gpriv->disconnect_action = SCARD_RESET_CARD;
|
gpriv->disconnect_action = SCARD_LEAVE_CARD;
|
||||||
gpriv->transaction_end_action = SCARD_LEAVE_CARD;
|
gpriv->transaction_end_action = SCARD_LEAVE_CARD;
|
||||||
gpriv->reconnect_action = SCARD_LEAVE_CARD;
|
gpriv->reconnect_action = SCARD_LEAVE_CARD;
|
||||||
gpriv->enable_pinpad = 1;
|
gpriv->enable_pinpad = 1;
|
||||||
|
|
Loading…
Reference in New Issue