From: Kristian Høgsberg Date: Wed, 11 Apr 2007 22:44:33 +0000 (-0400) Subject: firewire: Do an agent reset on error recovery. X-Git-Tag: v2.6.22-rc1~111^2~23 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fc7d6e4f4c243b49077b29466c9e135e3401938;p=linux-2.6 firewire: Do an agent reset on error recovery. Signed-off-by: Kristian Høgsberg (Reverted part which moved it from eh_abort_handler to eh_host_reset_handler) Signed-off-by: Stefan Richter --- diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c index c1e93165ef..7ce9b81143 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;