scd: Fix SEGV in CCID driver.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 21 Jul 2017 04:26:53 +0000 (13:26 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 21 Jul 2017 04:26:53 +0000 (13:26 +0900)
commitd8a55da715ce8447b0686f321fa43d00be34a467
tree8271ebb1100cca60101b251bda3a73a9fa4e900b
parenta76b6cf9709c0a2a89fa2887075491b80f3d9608
scd: Fix SEGV in CCID driver.

* scd/ccid-driver.c (intr_cb): Only kick the loop for removal.
(bulk_in): Don't set POWERED_OFF when interrupt transfer is enabled.

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