scd: Fix error return path.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 28 Apr 2016 03:43:48 +0000 (12:43 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 28 Apr 2016 03:43:48 +0000 (12:43 +0900)
commitcb4fee8bb645745ff199f7428e19226d5bc63dab
tree240fa115860a8020ac90eca620942c65b59e2229
parent508b0deb70d39d388149be9a63fab24cc956a239
scd: Fix error return path.

* scd/ccid-driver.c (bulk_in): Remove EAGAIN handling.
Handle LIBUSB_ERROR_NO_DEVICE to return CCID_DRIVER_ERR_NO_READER.

--

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