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
1 changed files with 1 additions and 1 deletions

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);
}
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,