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>
This commit is contained in:
Kristian Høgsberg 2007-02-16 17:34:37 -05:00 committed by Stefan Richter
parent c889475fb5
commit 6e2e8424d3

View File

@ -575,7 +575,7 @@ allocate_request(struct fw_packet *p)
request->ack = p->ack;
request->length = length;
if (data)
memcpy(request->data, p->payload, length);
memcpy(request->data, data, length);
memcpy(request->request_header, p->header, sizeof p->header);