commit | 6b8e516491aea6f8b2c75e8da6d2a2b77c44cacd | [log] [tgz] |
---|---|---|
author | Eric Wild <ewild@sysmocom.de> | Tue Sep 08 18:08:40 2020 +0200 |
committer | laforge <laforge@osmocom.org> | Tue Sep 08 20:17:51 2020 +0000 |
tree | 34bc93792d7e6c3b4281a93c2523944d2e4072b2 | |
parent | 6b2ff3bc088301b242570d7e96c2d9621e2229c9 [diff] |
usb: handle failed transfers This fixes the crash with external power if usb is disconected and plugged in again, upon ep reset the completion cbs are called, but we can obviously not interact with those EPs at that time and resubmit buffers. Change-Id: Icff17673b4d1d1616ee733580bdd6b5203b87139 Closes: SYS#4908
This repository contains a C-language implementation of the USB CCID (Smart Card Reader) device class. The code is written in a portable fashin and can be found in the ccid_common
sub-directory.
The code can be built to run as an userspace program on Linux, implementing a USB Gadget using the FunctionFS interface. For this version, see the ccid_host
subdirectory.
The CCID code can also be built into a firmware for the sysmoOCTSIM 8-slot high-performance USB smart card reader.
Discussions related to osmo-ccid-firmware are happening on the slightly unrelated simtrace@lists.osmocom.org mailing list, please see https://lists.osmocom.org/mailman/listinfo/simtrace for subscription options and the list archive.
Please observe the Osmocom Mailing List Rules when posting.
Our coding standards are described at https://osmocom.org/projects/cellular-infrastructure/wiki/Coding_standards
We us a gerrit based patch submission/review process for managing contributions. Please see https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit for more details
The current patch queue for osmo-ccid-firmware can be seen at https://gerrit.osmocom.org/#/q/project:osmo-ccid-firmware+status:open