Diffusion GnuPG 9dc76d599cd4

scd: Fix for USB INTERRUPT transfer.

Authored by gniibe on Jan 7 2019, 6:08 AM.

Description

scd: Fix for USB INTERRUPT transfer.

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

Cherry-picked from master commit:

5ab3bc422a5cc1a646c168b547f2b6538b3a4ffa

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

  • GnuPG-bug-id: T4308
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Committed
gniibeJan 17 2019, 12:13 AM
Parents
rG80a08b655f8f: agent: Fix message for ACK button.
Branches
Unknown
Tags
Unknown
Tasks
T4308: scdaemon does not survive suspend/resume with Yubikey4