scd: Fix cancel INTERRUPT transfer.
authorNIIBE Yutaka <gniibe@fsij.org>
Sun, 29 Jan 2017 23:19:32 +0000 (08:19 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Sun, 29 Jan 2017 23:19:32 +0000 (08:19 +0900)
commit216afba0d99582d0fbae1d6e925f4ddb349d9de3
tree825526af449f40647f2432ba8267e453b463380d
parentf3d9b2582bcaa1936b4fed5ec42a889b02df2f42
scd: Fix cancel INTERRUPT transfer.

* scd/ccid-driver.c (do_close_reader): Don't lock events, but check the
return value of libusb_cancel_transfer.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
scd/ccid-driver.c