scd: Better handling of timeout and time extension.
* scd/ccid-driver.c (CCID_CMD_TIMEOUT_LONGER): Remove. (ccid_transceive): Don't use x4 blindly for bBWI, but use dynamically determined value. Use value from variable wait_more for bulk_in. Set wait_more by the value of time extension request.
Backport master commit of:
f1cf799a37f320d33cae445c74f3fc1936dd9995
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>