From: Saurav Kashyap Date: Mon, 24 Sep 2012 10:54:33 +0000 (+0530) Subject: qla2xxx: Honor status value of 2 for report-id acquistion. X-Git-Tag: v2.6.39-400.9.0~37^2~11 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ce8c449facb83ec63f6d6515ca2f46c7614623de;p=users%2Fjedix%2Flinux-maple.git qla2xxx: Honor status value of 2 for report-id acquistion. The value of 2 is informational message and it means that prot id have changed. The driver should honor this value and continue its normal course. JIRA Key: V2632FC-280 Acked-by: Chad Dupuis Acked-by: Atul Deshmukh Signed-off-by: Saurav Kashyap Signed-off-by: Jerry Snitselaar --- diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c index 94a932a16edad..ed68032025638 100644 --- a/drivers/scsi/qla2xxx/qla_mbx.c +++ b/drivers/scsi/qla2xxx/qla_mbx.c @@ -3016,7 +3016,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;