aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index aef093db597e..3d4487eac9b7 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -2258,8 +2258,7 @@ qla2x00_configure_fabric(scsi_qla_host_t *ha)
2258 } 2258 }
2259 2259
2260 /* Remove device from the new list and add it to DB */ 2260 /* Remove device from the new list and add it to DB */
2261 list_del(&fcport->list); 2261 list_move_tail(&fcport->list, &ha->fcports);
2262 list_add_tail(&fcport->list, &ha->fcports);
2263 2262
2264 /* Login and update database */ 2263 /* Login and update database */
2265 qla2x00_fabric_dev_login(ha, fcport, &next_loopid); 2264 qla2x00_fabric_dev_login(ha, fcport, &next_loopid);