From 6e2e8424d310507fa044649435114217826ed78a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 16 Feb 2007 17:34:37 -0500 Subject: [PATCH] firewire: Use correct payload pointer when demarshalling incoming requests. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Kristian Høgsberg Signed-off-by: Stefan Richter --- drivers/firewire/fw-transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firewire/fw-transaction.c b/drivers/firewire/fw-transaction.c index 5394569a1c89..abc37fa52492 100644 --- a/drivers/firewire/fw-transaction.c +++ b/drivers/firewire/fw-transaction.c @@ -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); -- 2.20.1