From: Kristian Høgsberg Date: Fri, 26 Jan 2007 05:38:38 +0000 (-0500) Subject: firewire: Fix bit shift typo. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9fc82689bf2920e9b3a8cc1766bcb6ad6454a7c4;p=linux-beck.git firewire: Fix bit shift typo. Signed-off-by: Kristian Høgsberg Signed-off-by: Stefan Richter --- diff --git a/drivers/firewire/fw-transaction.c b/drivers/firewire/fw-transaction.c index 8387c8ea6735..4a48e2d7694e 100644 --- a/drivers/firewire/fw-transaction.c +++ b/drivers/firewire/fw-transaction.c @@ -48,7 +48,7 @@ #define header_get_tcode(q) (((q) >> 4) & 0x0f) #define header_get_tlabel(q) (((q) >> 10) & 0x3f) -#define header_get_rcode(q) (((q) >> 4) & 0x0f) +#define header_get_rcode(q) (((q) >> 12) & 0x0f) #define header_get_destination(q) (((q) >> 16) & 0xffff) #define header_get_source(q) (((q) >> 16) & 0xffff) #define header_get_offset_high(q) (((q) >> 0) & 0xffff)