mirror of git://git.gnupg.org/gnupg.git
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:
f503730272
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");
|
||||
send_escape_cmd (handle, (const unsigned char*)"\x80\x02\x00", 3,
|
||||
NULL, 0, NULL);
|
||||
libusb_clear_halt (handle->idev, handle->ep_intr);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue