]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
firewire: Fix extraction of source node id
authorRabin Vincent <rabin@rab.in>
Fri, 21 Dec 2007 17:32:15 +0000 (23:02 +0530)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 30 Jan 2008 21:22:24 +0000 (22:22 +0100)
Fix extraction of the source node id from the packet header.

Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-transaction.c

index c00d4a9b39e5861980d884823e9d46d41c18a61f..8018c3b9df0f834d2307cd768fb708bc8af0aaa8 100644 (file)
@@ -650,7 +650,7 @@ fw_core_handle_request(struct fw_card *card, struct fw_packet *p)
                 HEADER_GET_OFFSET_HIGH(p->header[1]) << 32) | p->header[2];
        tcode       = HEADER_GET_TCODE(p->header[0]);
        destination = HEADER_GET_DESTINATION(p->header[0]);
-       source      = HEADER_GET_SOURCE(p->header[0]);
+       source      = HEADER_GET_SOURCE(p->header[1]);
 
        spin_lock_irqsave(&address_handler_lock, flags);
        handler = lookup_enclosing_address_handler(&address_handler_list,