Fix endianness with descriptor handling
authorDaniel Drake <dsd@gentoo.org>
Fri, 16 May 2008 21:37:56 +0000 (22:37 +0100)
committerDaniel Drake <dsd@gentoo.org>
Fri, 16 May 2008 21:37:56 +0000 (22:37 +0100)
commit2b2e9c40b195261b09ac52ebdb93eef25c79de90
tree324484c5a2583d6d1f85b601edbc5082113a1f0e
parent1298c51f516a7bf04ca9add1b7db14417cdc66f3
Fix endianness with descriptor handling

Alan Stern pointed out that usbfs gives host-endian data, but sysfs gives
bus-endian.
libusb/core.c
libusb/descriptor.c
libusb/libusbi.h
libusb/os/linux_usbfs.c