scd: Reset nonnull_nad to zero for VENDOR_GEMPC.

* (parse_ccid_descriptor): nonnull_nad = 0 for all GEMPC device.

--

We can't use the driver for 08E6:3438, while it works well under PC/SC
service.  I found that the library of ccid always uses the node
address = ZERO for all transactions.  So, we extend the same handling
for not only GEMPC_CT30, but also for all its devices.

Debian-bug-id: 814584
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
Niibe Yutaka 2016-06-19 11:24:50 +09:00
parent ce1689ea07
commit 971064f8b7
1 changed files with 1 additions and 1 deletions

View File

@ -975,7 +975,7 @@ parse_ccid_descriptor (ccid_driver_t handle,
handle->max_ifsd = 48;
}
if (handle->id_vendor == VENDOR_GEMPC && handle->id_product == GEMPC_CT30)
if (handle->id_vendor == VENDOR_GEMPC)
{
DEBUGOUT ("enabling product quirk: disable non-null NAD\n");
handle->nonnull_nad = 0;