diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-02-16 17:34:37 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-09 16:02:57 -0500 |
commit | 6e2e8424d310507fa044649435114217826ed78a (patch) | |
tree | 7d1b8e802302c954dbd97842ef0adb7fa962a437 /drivers | |
parent | c889475fb57bfe30091b42e58eb6b76edd355d45 (diff) |
firewire: Use correct payload pointer when demarshalling incoming requests.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers')
-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 | ||