diff options
| author | Marcus Comstedt <marcus@mc.pp.se> | 2010-09-22 20:09:44 +0200 |
|---|---|---|
| committer | Marcus Comstedt <marcus@mc.pp.se> | 2010-10-16 14:35:34 +0200 |
| commit | 6f703a2e85a3098b3546a0ce254349b72b440628 (patch) | |
| tree | 970699c66f897b02dfc4349c2eeb667b9abfe0f2 /libunwindstack/tests/MemoryLocalTest.cpp | |
| 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
Diffstat (limited to 'libunwindstack/tests/MemoryLocalTest.cpp')
0 files changed, 0 insertions, 0 deletions
