BSD: Provide libusb_get_device_speed() data
commit35c3189a70771dddb70ccf196c7bfd82d556f443
authorMartin Pieuchot <mpi@openbsd.org>
Thu, 19 Apr 2012 09:33:36 +0000 (19 11:33 +0200)
committerPete Batard <pete@akeo.ie>
Fri, 20 Apr 2012 21:39:47 +0000 (20 22:39 +0100)
tree2d4bb175f1399269bc7b64c857e3f64e0b70a5ad
parent29d66c1554e8db47fbe6079cba48a38984318049
BSD: Provide libusb_get_device_speed() data

Because the different speed values used by the libusb and OpenBSD's
usb_device_info structure are compatible, keep the code simple and
just copy the value returned by the USB_GET_DEVICEINFO ioctl() call.
libusb/os/openbsd_usb.c
libusb/version.h