mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-22 14:57:02 +01:00
(do_close_reader): Don't do a reset before close.
Some folks reported that it makes the SCR335 hang less often. Look at the source on how to re-enable it.
This commit is contained in:
parent
89c844bd3a
commit
0ab01480ed
@ -1,3 +1,9 @@
|
||||
2005-05-07 Werner Koch <wk@g10code.com>
|
||||
|
||||
* ccid-driver.c (do_close_reader): Don't do a reset before close.
|
||||
Some folks reported that it makes the SCR335 hang less often.
|
||||
Look at the source on how to re-enable it.
|
||||
|
||||
2005-05-06 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* main.h, keygen.c (parse_expire_string, ask_expire_interval),
|
||||
|
@ -986,7 +986,8 @@ do_close_reader (ccid_driver_t handle)
|
||||
}
|
||||
if (handle->idev)
|
||||
{
|
||||
usb_reset (handle->idev);
|
||||
if (getenv ("GNUPG_CCID_DRIVER_RESET_BEFORE_CLOSE"))
|
||||
usb_reset (handle->idev);
|
||||
usb_release_interface (handle->idev, handle->ifc_no);
|
||||
usb_close (handle->idev);
|
||||
handle->idev = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user