aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index cc735254508..9d969b596b1 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -2651,7 +2651,8 @@ qla2x00_configure_loop(scsi_qla_host_t *vha)
2651 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); 2651 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags);
2652 if (test_bit(RSCN_UPDATE, &save_flags)) { 2652 if (test_bit(RSCN_UPDATE, &save_flags)) {
2653 set_bit(RSCN_UPDATE, &vha->dpc_flags); 2653 set_bit(RSCN_UPDATE, &vha->dpc_flags);
2654 vha->flags.rscn_queue_overflow = 1; 2654 if (!IS_ALOGIO_CAPABLE(ha))
2655 vha->flags.rscn_queue_overflow = 1;
2655 } 2656 }
2656 } 2657 }
2657 2658
@@ -3209,8 +3210,9 @@ qla2x00_find_all_fabric_devs(scsi_qla_host_t *vha,
3209 if (qla2x00_is_reserved_id(vha, loop_id)) 3210 if (qla2x00_is_reserved_id(vha, loop_id))
3210 continue; 3211 continue;
3211 3212
3212 if (atomic_read(&vha->loop_down_timer) || 3213 if (ha->current_topology == ISP_CFG_FL &&
3213 LOOP_TRANSITION(vha)) { 3214 (atomic_read(&vha->loop_down_timer) ||
3215 LOOP_TRANSITION(vha))) {
3214 atomic_set(&vha->loop_down_timer, 0); 3216 atomic_set(&vha->loop_down_timer, 0);
3215 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); 3217 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags);
3216 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); 3218 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags);