Browse Source

[SCSI] qla2xxx: Fix incorrect status reporting on DIF errors.

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>
Arun Easi 13 years ago
parent
commit
fb6e466832
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/scsi/qla2xxx/qla_isr.c

+ 1 - 0
drivers/scsi/qla2xxx/qla_isr.c

@@ -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: