From 9fc82689bf2920e9b3a8cc1766bcb6ad6454a7c4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 26 Jan 2007 00:38:38 -0500 Subject: [PATCH] firewire: Fix bit shift typo. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Kristian Høgsberg Signed-off-by: Stefan Richter --- drivers/firewire/fw-transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1