mirror of
git://git.gnupg.org/gnupg.git
synced 2024-06-09 23:39:51 +02:00
scd:ccid: Handle LIBUSB_TRANSFER_OVERFLOW interrupt transfer.
* scd/ccid-driver.c (intr_cb): Ignore LIBUSB_TRANSFER_OVERFLOW.
--
Backport-master-commit: 25ae80b8eb
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
8e941e19b0
commit
b90c55fa66
|
@ -1590,6 +1590,11 @@ intr_cb (struct libusb_transfer *transfer)
|
||||||
}
|
}
|
||||||
else if (transfer->status == LIBUSB_TRANSFER_CANCELLED)
|
else if (transfer->status == LIBUSB_TRANSFER_CANCELLED)
|
||||||
handle->powered_off = 1;
|
handle->powered_off = 1;
|
||||||
|
else if (transfer->status == LIBUSB_TRANSFER_OVERFLOW)
|
||||||
|
{
|
||||||
|
/* Something goes wrong. Ignore. */
|
||||||
|
DEBUGOUT ("CCID: interrupt transfer overflow\n");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
device_removed:
|
device_removed:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user