]> err.no Git - linux-2.6/commitdiff
firewire: Do an agent reset on error recovery.
authorKristian Høgsberg <krh@redhat.com>
Wed, 11 Apr 2007 22:44:33 +0000 (18:44 -0400)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 11 Apr 2007 23:28:13 +0000 (01:28 +0200)
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>
drivers/firewire/fw-sbp2.c

index c1e93165efdb0fea2be8e9653f7264417216aff6..7ce9b811431a68d096fe0b991c0d5077ef95d6b0 100644 (file)
@@ -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;