]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla2xxx: Honor status value of 2 for report-id acquistion.
authorSaurav Kashyap <saurav.kashyap@qlogic.com>
Mon, 24 Sep 2012 10:54:33 +0000 (16:24 +0530)
committerJerry Snitselaar <jerry.snitselaar@oracle.com>
Thu, 29 Nov 2012 22:18:24 +0000 (15:18 -0700)
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 <chad.dupuis@qlogic.com>
Acked-by: Atul Deshmukh <atul.deshmukh@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Jerry Snitselaar <jerry.snitselaar@oracle.com>
drivers/scsi/qla2xxx/qla_mbx.c

index 94a932a16edad78d3e6efcee82ceaaff14b87cb9..ed68032025638d13429911571e89123f3718779b 100644 (file)
@@ -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;