diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-03-26 19:18:19 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-28 15:30:14 -0400 |
commit | 20d11673112f7fa2087ae2eaf8896c8d2d8ccb07 (patch) | |
tree | e56393f70dc90ead40a01754ac212b0bc5782af7 /drivers/firewire | |
parent | 6f2e53d5135a861d3ee8afdacac5cde13c49a05d (diff) |
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.c | 1 |
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) | |||
628 | 628 | ||
629 | driver_data = (struct driver_data *) &d[3]; | 629 | driver_data = (struct driver_data *) &d[3]; |
630 | driver_data->packet = packet; | 630 | driver_data->packet = packet; |
631 | packet->driver_data = driver_data; | ||
631 | 632 | ||
632 | if (packet->payload_length > 0) { | 633 | if (packet->payload_length > 0) { |
633 | payload_bus = | 634 | payload_bus = |