diff options
| author | Rabin Vincent <rabin@rab.in> | 2007-12-21 12:32:15 -0500 |
|---|---|---|
| committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-01-30 16:22:24 -0500 |
| commit | 478b233eda81bfe41307512b8336fd688c6553e0 (patch) | |
| tree | 3c6b6802c79ffa1a981028d4adece60e27aa2c36 | |
| parent | bcee893c6cba88badd292b636f33a8677c0dd962 (diff) | |
firewire: Fix extraction of source node id
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>
| -rw-r--r-- | drivers/firewire/fw-transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-transaction.c b/drivers/firewire/fw-transaction.c index c00d4a9b39e5..8018c3b9df0f 100644 --- a/drivers/firewire/fw-transaction.c +++ b/drivers/firewire/fw-transaction.c | |||
| @@ -650,7 +650,7 @@ fw_core_handle_request(struct fw_card *card, struct fw_packet *p) | |||
| 650 | HEADER_GET_OFFSET_HIGH(p->header[1]) << 32) | p->header[2]; | 650 | HEADER_GET_OFFSET_HIGH(p->header[1]) << 32) | p->header[2]; |
| 651 | tcode = HEADER_GET_TCODE(p->header[0]); | 651 | tcode = HEADER_GET_TCODE(p->header[0]); |
| 652 | destination = HEADER_GET_DESTINATION(p->header[0]); | 652 | destination = HEADER_GET_DESTINATION(p->header[0]); |
| 653 | source = HEADER_GET_SOURCE(p->header[0]); | 653 | source = HEADER_GET_SOURCE(p->header[1]); |
| 654 | 654 | ||
| 655 | spin_lock_irqsave(&address_handler_lock, flags); | 655 | spin_lock_irqsave(&address_handler_lock, flags); |
| 656 | handler = lookup_enclosing_address_handler(&address_handler_list, | 656 | handler = lookup_enclosing_address_handler(&address_handler_list, |
