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. -- GnuPG-bug-id: 5167 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
ffabc29d5e
commit
f503730272
|
@ -1295,6 +1295,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