summaryrefslogtreecommitdiff
path: root/AUTHORS
diff options
context:
space:
mode:
authorMartin Koegler <mkoegler@auto.tuwien.ac.at>2010-04-05 17:11:32 +0200
committerDaniel Drake <dan@reactivated.net>2010-04-05 10:08:20 -0600
commit02df59a309e813c50b8230de99e69fb4e1814279 (patch)
tree4b924cebe161ee8750d413506dea5b28c6e7bf06 /AUTHORS
parentec303b01a5d4e51c000a283853af65059fa62285 (diff)
downloadlibusb-02df59a309e813c50b8230de99e69fb4e1814279.tar.gz
Linux: Fix endianness handling of usbfs config descriptors (#27)
driver/usb/core/devio.c function usbdev_read translate the follwing files to CPU endianess: le16_to_cpus(&temp_desc.bcdUSB); le16_to_cpus(&temp_desc.idVendor); le16_to_cpus(&temp_desc.idProduct); le16_to_cpus(&temp_desc.bcdDevice); All other data is passed without any change. libusb/os/linux_usbfs.c calls usbi_parse_descriptor with host_endian=1 for config descriptors. According to the kernel code, they must be processed with host_endian=0, as they are not translated by the kernel. Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Diffstat (limited to 'AUTHORS')
-rw-r--r--AUTHORS1
1 files changed, 1 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index 495a72e..dc0e053 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -12,6 +12,7 @@ David Moore
Felipe Balbi
Hans Ulrich Niedermann
Ludovic Rousseau
+Martin Koegler
Mikhail Gusarov
Rob Walker
Toby Peterson