From: Matt Gates <matthew.gates@hp.com> Date: Thu, 4 Feb 2010 14:43:05 +0000 (-0600) Subject: [SCSI] hpsa: Don't return DID_NO_CONNECT when a device is merely not ready X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=01fb21870d96c83ae01072674e380ac51ebc58c8;p=openwrt%2Fstaging%2Fblogic.git [SCSI] hpsa: Don't return DID_NO_CONNECT when a device is merely not ready Signed-off-by: Matt Gates <matthew.gates@hp.com> Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de> --- diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index d07b3d3f11a4..320d6863c44e 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -1029,7 +1029,6 @@ static void complete_scsi_command(struct CommandList *cp, * required */ if ((asc == 0x04) && (ascq == 0x03)) { - cmd->result = DID_NO_CONNECT << 16; dev_warn(&h->pdev->dev, "cp %p " "has check condition: unit " "not ready, manual "