]> err.no Git - linux-2.6/commitdiff
firewire: fw-sbp2: use correct speed in sbp2_agent_reset
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 1 Jul 2007 11:54:24 +0000 (13:54 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 9 Jul 2007 22:07:46 +0000 (00:07 +0200)
noticed by Jay Fenlason

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Acked-by: Kristian Høgsberg <krh@redhat.com>
drivers/firewire/fw-sbp2.c

index 1fc1af7f55af09965705f0b0651993959ba9f90b..faee586516a5a9532420058402e00a8a4ce88f88 100644 (file)
@@ -518,7 +518,7 @@ static int sbp2_agent_reset(struct fw_unit *unit)
                return -ENOMEM;
 
        fw_send_request(device->card, t, TCODE_WRITE_QUADLET_REQUEST,
-                       sd->node_id, sd->generation, SCODE_400,
+                       sd->node_id, sd->generation, device->max_speed,
                        sd->command_block_agent_address + SBP2_AGENT_RESET,
                        &zero, sizeof(zero), complete_agent_reset_write, t);