diff options
Diffstat (limited to 'drivers/firewire/fw-transaction.c')
-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 5394569a1c89..abc37fa52492 100644 --- a/drivers/firewire/fw-transaction.c +++ b/drivers/firewire/fw-transaction.c | |||
@@ -575,7 +575,7 @@ allocate_request(struct fw_packet *p) | |||
575 | request->ack = p->ack; | 575 | request->ack = p->ack; |
576 | request->length = length; | 576 | request->length = length; |
577 | if (data) | 577 | if (data) |
578 | memcpy(request->data, p->payload, length); | 578 | memcpy(request->data, data, length); |
579 | 579 | ||
580 | memcpy(request->request_header, p->header, sizeof p->header); | 580 | memcpy(request->request_header, p->header, sizeof p->header); |
581 | 581 | ||