Don't keep opening unavailable card reader.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 22 Nov 2012 07:04:51 +0000 (16:04 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 7 Dec 2012 01:13:05 +0000 (10:13 +0900)
commit9afd2bb7fb9067eb8c753a5e5f672a36e93b2474
tree3fa2f611efc8b9abdd501e533740956ecfc843b3
parent2ee9fe4bc25df7966df759895b996206d3cf7a02
Don't keep opening unavailable card reader.

* scd/command.c (update_reader_status_file): Don't call
get_reader_slot.

--
This fix has a impact that the insertion of a card reader will not be
detected upon the insertion, but will be deferred until user tries to
access his card.
scd/command.c