usb-host: fix streams detection in usb_host_speed_compat
commit6a71123469e0c9286354c6655440da51566c1763
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 9 Sep 2016 07:41:30 +0000 (9 09:41 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 13 Sep 2016 07:19:26 +0000 (13 09:19 +0200)
tree7fdf9126979480ba7b823561a3406df104e397c7
parentb66ad1f1aa4dba4e8e242ad8339dd01f4ee77c5e
usb-host: fix streams detection in usb_host_speed_compat

The companion descriptor is present on all usb3 devices, not only
those with streams support.  We need to check attributes to see
whenever the device uses streams or not.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1473406890-30164-1-git-send-email-kraxel@redhat.com
hw/usb/host-libusb.c