aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-01 07:54:24 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-09 18:07:46 -0400
commitffd0db26ddc32cd87097ece9725921f43ad487ee (patch)
tree4fbdf85f62c2ed09ae9bec79f3c2f7092e8acc02
parent6f061487f7d31427d7e8f420f366e5537ae16f43 (diff)
firewire: fw-sbp2: use correct speed in sbp2_agent_reset
noticed by Jay Fenlason Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Acked-by: Kristian Høgsberg <krh@redhat.com>
-rw-r--r--drivers/firewire/fw-sbp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c
index 1fc1af7f55af..faee586516a5 100644
--- a/drivers/firewire/fw-sbp2.c
+++ b/drivers/firewire/fw-sbp2.c
@@ -518,7 +518,7 @@ static int sbp2_agent_reset(struct fw_unit *unit)
518 return -ENOMEM; 518 return -ENOMEM;
519 519
520 fw_send_request(device->card, t, TCODE_WRITE_QUADLET_REQUEST, 520 fw_send_request(device->card, t, TCODE_WRITE_QUADLET_REQUEST,
521 sd->node_id, sd->generation, SCODE_400, 521 sd->node_id, sd->generation, device->max_speed,
522 sd->command_block_agent_address + SBP2_AGENT_RESET, 522 sd->command_block_agent_address + SBP2_AGENT_RESET,
523 &zero, sizeof(zero), complete_agent_reset_write, t); 523 &zero, sizeof(zero), complete_agent_reset_write, t);
524 524