commit | 3d2f5182a3447eeda6d45d99a3fed0725e94ee66 | [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 | 0df0bcddcfb7e0ee42c3b4e0e204a018e5f2a5f9 | |
parent | a143590451243edf987e8f8fc972af4609d6c31d [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