summaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
authorKristian Høgsberg2007-03-27 01:18:19 +0200
committerStefan Richter2007-03-28 21:30:14 +0200
commit20d11673112f7fa2087ae2eaf8896c8d2d8ccb07 (patch)
treee56393f70dc90ead40a01754ac212b0bc5782af7 /drivers/firewire
parentfirewire: Use device->groups for adding device attributes. (diff)
downloadkernel-qcow2-linux-20d11673112f7fa2087ae2eaf8896c8d2d8ccb07.tar.gz
kernel-qcow2-linux-20d11673112f7fa2087ae2eaf8896c8d2d8ccb07.tar.xz
kernel-qcow2-linux-20d11673112f7fa2087ae2eaf8896c8d2d8ccb07.zip
firewire: Remember to set the driver_data pointer when queueing a packet.
Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire')
-rw-r--r--drivers/firewire/fw-ohci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c
index abb9dc12a613..afd18173cca1 100644
--- a/drivers/firewire/fw-ohci.c
+++ b/drivers/firewire/fw-ohci.c
@@ -628,6 +628,7 @@ at_context_queue_packet(struct context *ctx, struct fw_packet *packet)
driver_data = (struct driver_data *) &d[3];
driver_data->packet = packet;
+ packet->driver_data = driver_data;
if (packet->payload_length > 0) {
payload_bus =