diff options
author | Saurav Kashyap <saurav.kashyap@qlogic.com> | 2012-11-21 08:40:28 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-11-30 10:47:05 +0100 |
commit | 681e014b20d1af6851c5461dd9e6323999dd273a (patch) | |
tree | a3d21a19f45e490b5e79a3a20d6517882d46d87b /drivers/scsi | |
parent | [SCSI] qla2xxx: Remove spurious taking of ha->vport_slock spinlock. (diff) | |
download | linux-681e014b20d1af6851c5461dd9e6323999dd273a.tar.xz linux-681e014b20d1af6851c5461dd9e6323999dd273a.zip |
[SCSI] qla2xxx: Honor status value of 2 for report-id acquisition.
The value of 2 is informational message and it means that port id has
changed. The driver should honor the value and continue its normal course.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-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 18c509fae555..bdf7fa772396 100644 --- a/drivers/scsi/qla2xxx/qla_mbx.c +++ b/drivers/scsi/qla2xxx/qla_mbx.c @@ -3122,7 +3122,7 @@ qla24xx_report_id_acquisition(scsi_qla_host_t *vha, if (vp_idx == 0 && (MSB(stat) != 1)) goto reg_needed; - if (MSB(stat) != 0) { + if (MSB(stat) != 0 && MSB(stat) != 2) { ql_dbg(ql_dbg_mbx, vha, 0x10ba, "Could not acquire ID for VP[%d].\n", vp_idx); return; |