summaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-04-11 18:44:33 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-04-12 01:28:13 +0200
commit0fc7d6e4f4c243b49077b29466c9e135e3401938 (patch)
treea863f595b05270b924375a9c346a1c5c9414a37f /drivers/firewire
parent12f26aa1b172a32604fedcb98d68c7aef268d6ad (diff)
downloadkernel-crypto-0fc7d6e4f4c243b49077b29466c9e135e3401938.tar.gz
kernel-crypto-0fc7d6e4f4c243b49077b29466c9e135e3401938.tar.xz
kernel-crypto-0fc7d6e4f4c243b49077b29466c9e135e3401938.zip
firewire: Do an agent reset on error recovery.
Signed-off-by: Kristian Høgsberg <krh@redhat.com> (Reverted part which moved it from eh_abort_handler to eh_host_reset_handler) Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire')
-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 c1e93165efd..7ce9b811431 100644
--- a/drivers/firewire/fw-sbp2.c
+++ b/drivers/firewire/fw-sbp2.c
@@ -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];
fw_notify("sbp2_scsi_abort\n");
-
+ sbp2_agent_reset(unit);
sbp2_cancel_orbs(unit);
return SUCCESS;