1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-05 23:07:49 +02:00

scd: Internal CCID driver limiting only for SPR532.

* scd/ccid-driver.c (ccid_vendor_specific_init): Only do that for
SPR532.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2020-10-24 10:59:16 +09:00
parent 32f336d955
commit 3c6b5dfa2a

View File

@ -1270,7 +1270,7 @@ ccid_vendor_specific_init (ccid_driver_t handle)
r = send_escape_cmd (handle, cmd, sizeof (cmd), NULL, 0, NULL); r = send_escape_cmd (handle, cmd, sizeof (cmd), NULL, 0, NULL);
} }
else if (handle->id_vendor == VENDOR_SCM) else if (handle->id_vendor == VENDOR_SCM && handle->id_product == SCM_SPR532)
{ {
/* /*
* It seems that SEQ may be out of sync between host and the card reader, * It seems that SEQ may be out of sync between host and the card reader,