[SCSI] qla2xxx: Fix incorrect status reporting on DIF errors.
authorArun Easi <arun.easi@qlogic.com>
Wed, 22 Aug 2012 18:21:32 +0000 (14:21 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:10:54 +0000 (12:10 +0400)
Signed-off-by: Arun Easi <arun.easi@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_isr.c

index 7614e14..c93cd65 100644 (file)
@@ -2162,6 +2162,7 @@ check_scsi_status:
 
        case CS_DIF_ERROR:
                logit = qla2x00_handle_dif_error(sp, sts24);
+               res = cp->result;
                break;
 
        case CS_TRANSPORT: