summaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-03-26 19:18:19 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-28 21:30:14 +0200
commit20d11673112f7fa2087ae2eaf8896c8d2d8ccb07 (patch)
treee56393f70dc90ead40a01754ac212b0bc5782af7 /drivers/firewire
parent6f2e53d5135a861d3ee8afdacac5cde13c49a05d (diff)
downloadop-kernel-dev-20d11673112f7fa2087ae2eaf8896c8d2d8ccb07.zip
op-kernel-dev-20d11673112f7fa2087ae2eaf8896c8d2d8ccb07.tar.gz
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 abb9dc1..afd1817 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 =
OpenPOWER on IntegriCloud