usb-linux: Get speed from sysfs rather then from the connectinfo ioctl
commit3991c35e8586cc42501de1236d0c155e82223540
authorHans de Goede <hdegoede@redhat.com>
Tue, 31 May 2011 09:35:18 +0000 (31 11:35 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 14 Jun 2011 10:56:49 +0000 (14 12:56 +0200)
tree7c16eda856320f5a5b4d5528100920e8cf023e66
parentf72e502e5f0b846a4e4bffd35315e36567da68c8
usb-linux: Get speed from sysfs rather then from the connectinfo ioctl

The connectinfo ioctl only differentiates between lo speed devices, and
all other speeds, where as we would like to know the real speed. The real
speed is available in sysfs so use that when available.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb-linux.c