All: Avoid polluting errors reported on device disconnect
authorHans de Goede <hdegoede@redhat.com>
Wed, 12 Sep 2012 01:03:47 +0000 (02:03 +0100)
committerPete Batard <pete@akeo.ie>
Wed, 12 Sep 2012 23:46:40 +0000 (00:46 +0100)
commit00a3cf9630d8376ba0c1351d30da06dc9a5f8660
tree7f88bfc133f066d2d480984c4de9b8d6cde97853
parentc55ff2e00c2d0f893157347e8b6efb7eac335af3
All: Avoid polluting errors reported on device disconnect

* Makes libusb_cancel_transfer not log an error when the cancel fails
  with LIBUSB_ERROR_NO_DEVICE, so that apps can properly clean things
  up on device disconnect without flooding the console with these errors.
* Also, some devices (Cypress FX) may switch VID:PID on the fly during
  firmware upload => reduce severity of the Windows message when that happens.
libusb/io.c
libusb/os/windows_usb.c
libusb/version_nano.h