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>
This commit is contained in:
parent
6f061487f7
commit
ffd0db26dd
1 changed files with 1 additions and 1 deletions
|
@ -518,7 +518,7 @@ static int sbp2_agent_reset(struct fw_unit *unit)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
fw_send_request(device->card, t, TCODE_WRITE_QUADLET_REQUEST,
|
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,
|
sd->command_block_agent_address + SBP2_AGENT_RESET,
|
||||||
&zero, sizeof(zero), complete_agent_reset_write, t);
|
&zero, sizeof(zero), complete_agent_reset_write, t);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue