Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 681e014b authored by Saurav Kashyap's avatar Saurav Kashyap Committed by James Bottomley
Browse files

[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: default avatarGiridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: default avatarSaurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 3aa28e42
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -3122,7 +3122,7 @@ qla24xx_report_id_acquisition(scsi_qla_host_t *vha,
		if (vp_idx == 0 && (MSB(stat) != 1))
		if (vp_idx == 0 && (MSB(stat) != 1))
			goto reg_needed;
			goto reg_needed;


		if (MSB(stat) != 0) {
		if (MSB(stat) != 0 && MSB(stat) != 2) {
			ql_dbg(ql_dbg_mbx, vha, 0x10ba,
			ql_dbg(ql_dbg_mbx, vha, 0x10ba,
			    "Could not acquire ID for VP[%d].\n", vp_idx);
			    "Could not acquire ID for VP[%d].\n", vp_idx);
			return;
			return;