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:
Родитель
c889475fb5
Коммит
6e2e8424d3
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче