[SCSI] hpsa: Don't return DID_NO_CONNECT when a device is merely not ready
authorMatt Gates <matthew.gates@hp.com>
Thu, 4 Feb 2010 14:43:05 +0000 (08:43 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 17 Feb 2010 19:21:52 +0000 (13:21 -0600)
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>
drivers/scsi/hpsa.c

index d07b3d3f11a42544356c5ac3d7b82a1488478ea3..320d6863c44e5954570930c72e9ac9f91946562c 100644 (file)
@@ -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 "