]> err.no Git - linux-2.6/commitdiff
firewire: Remember to set the driver_data pointer when queueing a packet.
authorKristian Høgsberg <krh@redhat.com>
Mon, 26 Mar 2007 23:18:19 +0000 (19:18 -0400)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 28 Mar 2007 19:30:14 +0000 (21:30 +0200)
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-ohci.c

index abb9dc12a6139faca66213c4b844a41d1d57721e..afd18173cca1286d80e4ead63eab1e7911f91eed 100644 (file)
@@ -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 =