Signed-off-by: Daniel Mack <daniel@xxxxxxxx> --- lsusb.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lsusb.c b/lsusb.c index 81c8b6d..54cbfc1 100644 --- a/lsusb.c +++ b/lsusb.c @@ -1256,13 +1256,13 @@ static void dump_audiostreaming_interface(unsigned char *buf) printf(" bmBSID 0x%08x\n" " bmAC3Features 0x%02x\n", buf[5] | (buf[6] << 8) | (buf[7] << 16) | (buf[8] << 24), buf[9]); - if (buf[9] & 0x0) + if (buf[9] & 0x01) printf(" RF mode\n"); - if (buf[9] & 0x0) + if (buf[9] & 0x02) printf(" Line mode\n"); - if (buf[9] & 0x0) + if (buf[9] & 0x04) printf(" Custom0 mode\n"); - if (buf[9] & 0x0) + if (buf[9] & 0x08) printf(" Custom1 mode\n"); printf(" Internal Dynamic Range Control: "); switch ((buf[9] >> 4) & 3) { -- 1.7.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