diff options
Diffstat (limited to 'scd/apdu.c')
-rw-r--r-- | scd/apdu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scd/apdu.c b/scd/apdu.c index 58f607500..0351e0023 100644 --- a/scd/apdu.c +++ b/scd/apdu.c @@ -1508,6 +1508,8 @@ connect_pcsc_card (int slot) pcsc_dword_t readerlen, atrlen; long card_state, card_protocol; + pcsc_vendor_specific_init (slot); + atrlen = DIM (reader_table[0].atr); readerlen = sizeof reader -1 ; err = pcsc_status (reader_table[slot].pcsc.card, @@ -1929,7 +1931,6 @@ open_pcsc_reader_direct (const char *portstr) reader_table[slot].send_apdu_reader = pcsc_send_apdu; reader_table[slot].dump_status_reader = dump_pcsc_reader_status; - pcsc_vendor_specific_init (slot); dump_reader_status (slot); return slot; } |