aboutsummaryrefslogtreecommitdiff
path: root/drivers/firewire
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-01-26 00:38:38 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-09 22:02:48 +0100
commit9fc82689bf2920e9b3a8cc1766bcb6ad6454a7c4 (patch)
tree26c62d4c850dab0e705b2cd837bd342922641c59 /drivers/firewire
parente5f49c3b837ff90c8aec2c6c66c4966080aced06 (diff)
firewire: Fix bit shift typo.
Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire')
-rw-r--r--drivers/firewire/fw-transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-transaction.c b/drivers/firewire/fw-transaction.c
index 8387c8ea673..4a48e2d7694 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)