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

Commit 21333b48 authored by Andrew Vasquez's avatar Andrew Vasquez Committed by James Bottomley
Browse files

[SCSI] qla2xxx: Correct issue where driver improperly issued SNS commands in N2N topologies.



Semantic changes in ISP24xx firmware behaviour inadvertently
caused the driver to believe an F-port topology was present in an
N_port-to-N_port configuration.

Signed-off-by: default avatarAndrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent d4e3e04d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1778,6 +1778,9 @@ qla2x00_configure_loop(scsi_qla_host_t *ha)
		set_bit(RSCN_UPDATE, &flags);
		clear_bit(LOCAL_LOOP_UPDATE, &flags);

	} else if (ha->current_topology == ISP_CFG_N) {
		clear_bit(RSCN_UPDATE, &flags);

	} else if (!ha->flags.online ||
	    (test_bit(ABORT_ISP_ACTIVE, &flags))) {