Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106612
b: refs/heads/master
c: e9aeb46
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Richter committed Jul 14, 2008
1 parent 15c7b89 commit f75da57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 792a61021c6043f6c2b24b1cdd42be5753b3e54c
refs/heads/master: e9aeb46c93a8b1b703d00586c05d9a71aa7e0f0c
9 changes: 4 additions & 5 deletions trunk/drivers/firewire/fw-transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,6 @@ fw_send_request(struct fw_card *card, struct fw_transaction *t,
card->current_tlabel = (card->current_tlabel + 1) & 0x1f;
card->tlabel_mask |= (1 << tlabel);

list_add_tail(&t->link, &card->transaction_list);

spin_unlock_irqrestore(&card->lock, flags);

/* Initialize rest of transaction, fill out packet and send it. */
t->node_id = node_id;
t->tlabel = tlabel;
t->callback = callback;
Expand All @@ -294,6 +289,10 @@ fw_send_request(struct fw_card *card, struct fw_transaction *t,
speed, offset, payload, length);
t->packet.callback = transmit_complete_callback;

list_add_tail(&t->link, &card->transaction_list);

spin_unlock_irqrestore(&card->lock, flags);

card->driver->send_request(card, &t->packet);
}
EXPORT_SYMBOL(fw_send_request);
Expand Down

0 comments on commit f75da57

Please sign in to comment.