Skip to content
Snippets Groups Projects
Commit 6e2e8424 authored by Kristian Høgsberg's avatar Kristian Høgsberg Committed by Stefan Richter
Browse files

firewire: Use correct payload pointer when demarshalling incoming requests.

parent c889475f
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment