aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 8018c3b9df0f..7fcc59dedf08 100644
--- a/drivers/firewire/fw-transaction.c
+++ b/drivers/firewire/fw-transaction.c
@@ -153,7 +153,7 @@ fw_fill_request(struct fw_packet *packet, int tcode, int tlabel,
153 int ext_tcode; 153 int ext_tcode;
154 154
155 if (tcode > 0x10) { 155 if (tcode > 0x10) {
156 ext_tcode = tcode - 0x10; 156 ext_tcode = tcode & ~0x10;
157 tcode = TCODE_LOCK_REQUEST; 157 tcode = TCODE_LOCK_REQUEST;
158 } else 158 } else
159 ext_tcode = 0; 159 ext_tcode = 0;