mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
scd:ccid: Handle LIBUSB_TRANSFER_OVERFLOW interrupt transfer.
* scd/ccid-driver.c (intr_cb): Ignore LIBUSB_TRANSFER_OVERFLOW. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
2c6b62b357
commit
25ae80b8eb
@ -1577,6 +1577,11 @@ intr_cb (struct libusb_transfer *transfer)
|
||||
}
|
||||
else if (transfer->status == LIBUSB_TRANSFER_CANCELLED)
|
||||
handle->powered_off = 1;
|
||||
else if (transfer->status == LIBUSB_TRANSFER_OVERFLOW)
|
||||
{
|
||||
/* Something goes wrong. Ignore. */
|
||||
DEBUGOUT ("CCID: interrupt transfer overflow\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
device_removed:
|
||||
|
Loading…
x
Reference in New Issue
Block a user