scd: Fix for USB INTERRUPT transfer.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 7 Jan 2019 05:08:51 +0000 (14:08 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 7 Jan 2019 05:08:51 +0000 (14:08 +0900)
commit5ab3bc422a5cc1a646c168b547f2b6538b3a4ffa
tree8f5fb8c8da946849ee6ba50b88c1a1e74282876f
parent405feca2bdeeb620dc406667a702035a123ae848
scd: Fix for USB INTERRUPT transfer.

* scd/ccid-driver.c (intr_cb): When LIBUSB_TRANSFER_NO_DEVICE,
just handle this event as failure.

--

It used to try another interrupt transfer request to make sure
if it fails again.

GnuPG-bug-id: 4308
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
scd/ccid-driver.c