usb-host: workaround libusb bug
commit202d69a715a4b1824dcd7ec1683d027ed2bae6d3
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 24 Aug 2020 11:00:57 +0000 (24 13:00 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 31 Aug 2020 06:23:39 +0000 (31 08:23 +0200)
tree0c44fca2a4fc189e6bff6fb1aabf2bc940124d01
parentd7c1523f58190936ed08d30389399a941994d148
usb-host: workaround libusb bug

libusb_get_device_speed() does not work for
libusb_wrap_sys_device() devices in v1.0.23.

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1871090
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200824110057.32089-1-kraxel@redhat.com
hw/usb/host-libusb.c