diff options
| author | NIIBE Yutaka <[email protected]> | 2018-03-15 14:59:22 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2018-03-15 14:59:22 +0000 |
| commit | fd23a0524d8060ed12d87c679b7823686614aaee (patch) | |
| tree | 517d467d70120216a6c287bb141b7be8265c8dfa /scd/app-openpgp.c | |
| parent | scd: After fatal error, shutdown a reader. (diff) | |
| download | gnupg-fd23a0524d8060ed12d87c679b7823686614aaee.tar.gz gnupg-fd23a0524d8060ed12d87c679b7823686614aaee.zip | |
scd: Fix suspend/resume handling for CCID driver.
* scd/ccid-driver.c (intr_cb): Try submitting INTERRUPT urb
to see if it's suspend/resume.
--
Upon suspend/resume, LIBUSB_TRANSFER_NO_DEVICE is returned, since all
URBs are cancelled. We need to see if it's real NODEV error or its by
suspend/resume. We can distinguish by sending URB again.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'scd/app-openpgp.c')
0 files changed, 0 insertions, 0 deletions
