The bU2DevExitLat field is a 2 byte field. According to the USB 3.0 specification, all mult-byte fields are moved over the bus in little-endian order (least significant byte first). So buf[8] is the LSB, buf[9] is the MSB of the U2 exit latency value. Signed-off-by: Sarah Sharp <sarah.a.sharp@xxxxxxxxxxxxxxx> --- lsusb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lsusb.c b/lsusb.c index d8f5616..8fec13f 100644 --- a/lsusb.c +++ b/lsusb.c @@ -3648,7 +3648,7 @@ static void dump_ss_device_capability_desc(unsigned char *buf) break; } printf(" bU1DevExitLat %4u micro seconds\n", buf[7]); - printf(" bU2DevExitLat %8u micro seconds\n", buf[9] + (buf[8] << 8)); + printf(" bU2DevExitLat %8u micro seconds\n", buf[8] + (buf[9] << 8)); } static void dump_container_id_device_capability_desc(unsigned char *buf) -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html