From 3c6b5dfa2a2379a5f5eaa052f7dbc73462097425 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Sat, 24 Oct 2020 10:59:16 +0900 Subject: [PATCH] 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 --- scd/ccid-driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c index 944575e0b..cdda7caed 100644 --- a/scd/ccid-driver.c +++ b/scd/ccid-driver.c @@ -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,