提交 6e2e8424 编写于 作者: K Kristian Høgsberg 提交者: Stefan Richter

firewire: Use correct payload pointer when demarshalling incoming requests.

Signed-off-by: NKristian Høgsberg <krh@redhat.com>
Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册