diff options
author | Giridhar Malavali <giridhar.malavali@qlogic.com> | 2011-11-18 12:03:12 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-12-15 01:55:03 -0500 |
commit | 882a917bfc638c8eac58677b9bf0c18663222078 (patch) | |
tree | 49ae9f05ec26b4d229d0c608c350de14049d838f | |
parent | 3cb0a67d6d0f5af55ab9673893cd8e8148025331 (diff) |
[SCSI] qla2xxx: Correct report-id acquisition check
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r-- | drivers/scsi/qla2xxx/qla_mbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c index 82a33533ed26..34344d3f8658 100644 --- a/drivers/scsi/qla2xxx/qla_mbx.c +++ b/drivers/scsi/qla2xxx/qla_mbx.c | |||
@@ -2887,7 +2887,7 @@ qla24xx_report_id_acquisition(scsi_qla_host_t *vha, | |||
2887 | if (vp_idx == 0 && (MSB(stat) != 1)) | 2887 | if (vp_idx == 0 && (MSB(stat) != 1)) |
2888 | goto reg_needed; | 2888 | goto reg_needed; |
2889 | 2889 | ||
2890 | if (MSB(stat) == 1) { | 2890 | if (MSB(stat) != 0) { |
2891 | ql_dbg(ql_dbg_mbx, vha, 0x10ba, | 2891 | ql_dbg(ql_dbg_mbx, vha, 0x10ba, |
2892 | "Could not acquire ID for VP[%d].\n", vp_idx); | 2892 | "Could not acquire ID for VP[%d].\n", vp_idx); |
2893 | return; | 2893 | return; |