Commit 6e2e8424 authored by Kristian Høgsberg's avatar Kristian Høgsberg Committed by Stefan Richter

firewire: Use correct payload pointer when demarshalling incoming requests.

Signed-off-by: default avatarKristian Høgsberg <krh@redhat.com>
Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent c889475f
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment