diff options
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 590aa904fdef..1878a6f24ddb 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c | |||
@@ -5107,13 +5107,14 @@ qla2x00_update_fcport(scsi_qla_host_t *vha, fc_port_t *fcport) | |||
5107 | fcport->deleted = 0; | 5107 | fcport->deleted = 0; |
5108 | fcport->logout_on_delete = 1; | 5108 | fcport->logout_on_delete = 1; |
5109 | 5109 | ||
5110 | qla2x00_set_fcport_state(fcport, FCS_ONLINE); | ||
5111 | qla2x00_iidma_fcport(vha, fcport); | ||
5112 | |||
5110 | if (fcport->fc4f_nvme) { | 5113 | if (fcport->fc4f_nvme) { |
5111 | qla_nvme_register_remote(vha, fcport); | 5114 | qla_nvme_register_remote(vha, fcport); |
5112 | return; | 5115 | return; |
5113 | } | 5116 | } |
5114 | 5117 | ||
5115 | qla2x00_set_fcport_state(fcport, FCS_ONLINE); | ||
5116 | qla2x00_iidma_fcport(vha, fcport); | ||
5117 | qla24xx_update_fcport_fcp_prio(vha, fcport); | 5118 | qla24xx_update_fcport_fcp_prio(vha, fcport); |
5118 | 5119 | ||
5119 | reg_port: | 5120 | reg_port: |