mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
scd:ccid: Call libusb_clear_halt in ccid_vendor_specific_setup.
* scd/ccid-driver.c (ccid_vendor_specific_setup): Only for SPR532, call libusb_clear_halt. -- Backport master commit of: f50373027222f28ab9d37843178a5d44cc1e3cc0 GnuPG-bug-id: 5167 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
585cfca0a6
commit
3c55e15cee
@ -1307,6 +1307,7 @@ ccid_vendor_specific_setup (ccid_driver_t handle)
|
|||||||
DEBUGOUT ("sending escape sequence to switch to a case 1 APDU\n");
|
DEBUGOUT ("sending escape sequence to switch to a case 1 APDU\n");
|
||||||
send_escape_cmd (handle, (const unsigned char*)"\x80\x02\x00", 3,
|
send_escape_cmd (handle, (const unsigned char*)"\x80\x02\x00", 3,
|
||||||
NULL, 0, NULL);
|
NULL, 0, NULL);
|
||||||
|
libusb_clear_halt (handle->idev, handle->ep_intr);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user