From: Kristian Høgsberg Date: Fri, 26 Jan 2007 05:38:38 +0000 (-0500) Subject: firewire: Fix bit shift typo. X-Git-Tag: v2.6.22-rc1~111^2~106 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fc82689bf2920e9b3a8cc1766bcb6ad6454a7c4;p=linux-2.6 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 8387c8ea67..4a48e2d769 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)