]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/firewire/fw-transaction.c
firewire: replace subtraction with bitwise and
[linux-2.6-omap-h63xx.git] / drivers / firewire / fw-transaction.c
index 8018c3b9df0f834d2307cd768fb708bc8af0aaa8..7fcc59dedf08cfa038d652336d1f85383614ccd3 100644 (file)
@@ -153,7 +153,7 @@ fw_fill_request(struct fw_packet *packet, int tcode, int tlabel,
        int ext_tcode;
 
        if (tcode > 0x10) {
-               ext_tcode = tcode 0x10;
+               ext_tcode = tcode & ~0x10;
                tcode = TCODE_LOCK_REQUEST;
        } else
                ext_tcode = 0;