Commit 0fc7d6e4 authored by Kristian Høgsberg's avatar Kristian Høgsberg Committed by Stefan Richter

firewire: Do an agent reset on error recovery.

Signed-off-by: default avatarKristian Høgsberg <krh@redhat.com>

(Reverted part which moved it from eh_abort_handler to eh_host_reset_handler)
Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 12f26aa1
...@@ -1076,7 +1076,7 @@ static int sbp2_scsi_abort(struct scsi_cmnd *cmd) ...@@ -1076,7 +1076,7 @@ static int sbp2_scsi_abort(struct scsi_cmnd *cmd)
struct fw_unit *unit = (struct fw_unit *)cmd->device->host->hostdata[0]; struct fw_unit *unit = (struct fw_unit *)cmd->device->host->hostdata[0];
fw_notify("sbp2_scsi_abort\n"); fw_notify("sbp2_scsi_abort\n");
sbp2_agent_reset(unit);
sbp2_cancel_orbs(unit); sbp2_cancel_orbs(unit);
return SUCCESS; return SUCCESS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment