From: Stefan Richter Date: Sun, 1 Jul 2007 11:54:24 +0000 (+0200) Subject: firewire: fw-sbp2: use correct speed in sbp2_agent_reset X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ffd0db26ddc32cd87097ece9725921f43ad487ee;p=linux-beck.git firewire: fw-sbp2: use correct speed in sbp2_agent_reset noticed by Jay Fenlason Signed-off-by: Stefan Richter Acked-by: Kristian Høgsberg --- 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) 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);