diff options
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | usbredirhost/usbredirhost.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -4,3 +4,4 @@ * cancel pending packets / active streams before reset? * add a queue_buf call to parser, use it in host to avoid memcpy of "in" bulk transfers +* use libusb strerror equivalent instead of numeric error codes in logs diff --git a/usbredirhost/usbredirhost.c b/usbredirhost/usbredirhost.c index be75f87..2415c26 100644 --- a/usbredirhost/usbredirhost.c +++ b/usbredirhost/usbredirhost.c @@ -707,6 +707,7 @@ int usbredirhost_set_device(struct usbredirhost *host, so lets do that before hand */ r = libusb_reset_device(host->handle); if (r != 0) { + ERROR("resetting device: %d", r); usbredirhost_clear_device(host); return libusb_status_or_error_to_redir_status(host, r); } |