mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
scd:ccid: Handle LIBUSB_TRANSFER_OVERFLOW interrupt transfer.
* scd/ccid-driver.c (intr_cb): Ignore LIBUSB_TRANSFER_OVERFLOW. -- Backport-master-commit: 25ae80b8eb6e9011049d76440ad7d250c1d02f7c 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…
x
Reference in New Issue
Block a user