Skip to content

Commit

Permalink
firewire: Fix extraction of source node id
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rabin Vincent authored and Stefan Richter committed Jan 30, 2008
1 parent bcee893 commit 478b233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/firewire/fw-transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 478b233

Please sign in to comment.