commit | 6f703a2e85a3098b3546a0ce254349b72b440628 | [log] [tgz] |
---|---|---|
author | Marcus Comstedt <marcus@mc.pp.se> | Wed Sep 22 20:09:44 2010 +0200 |
committer | Marcus Comstedt <marcus@mc.pp.se> | Sat Oct 16 14:35:34 2010 +0200 |
tree | 970699c66f897b02dfc4349c2eeb667b9abfe0f2 | |
parent | d340d2f57dc0d414ea66b1b556caaf8c98b1e967 [diff] |
Fix USB endianness bugs on Linux. The fields device->idVendor and device->idProduct should not be converted from little endian to native byteorder, because the kernel has in fact done so already! On the other hand, the descriptors read using raw ioctl:s in register_device() do need to be converted. Change-Id: I5fe08b626b14ead56a592b68d026690e343c2656