Skip to content

Commit 21333b4

Browse files
avasquez01James Bottomley
authored andcommitted
[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: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
1 parent d4e3e04 commit 21333b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/scsi/qla2xxx/qla_init.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1778,6 +1778,9 @@ qla2x00_configure_loop(scsi_qla_host_t *ha)
17781778
set_bit(RSCN_UPDATE, &flags);
17791779
clear_bit(LOCAL_LOOP_UPDATE, &flags);
17801780

1781+
} else if (ha->current_topology == ISP_CFG_N) {
1782+
clear_bit(RSCN_UPDATE, &flags);
1783+
17811784
} else if (!ha->flags.online ||
17821785
(test_bit(ABORT_ISP_ACTIVE, &flags))) {
17831786

0 commit comments

Comments
 (0)