Read config before starting FlexRAN for node_type and ID
This commit is contained in:
@@ -1047,6 +1047,10 @@ int main( int argc, char **argv )
|
|||||||
}
|
}
|
||||||
LOG_I(HW, "CPU Affinity of main() function is... %s\n", cpu_affinity);
|
LOG_I(HW, "CPU Affinity of main() function is... %s\n", cpu_affinity);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Read configuration */
|
||||||
|
if (RC.nb_inst > 0)
|
||||||
|
read_config_and_init();
|
||||||
|
|
||||||
/* Start the agent. If it is turned off in the configuration, it won't start */
|
/* Start the agent. If it is turned off in the configuration, it won't start */
|
||||||
RCconfig_flexran();
|
RCconfig_flexran();
|
||||||
@@ -1055,7 +1059,6 @@ int main( int argc, char **argv )
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (RC.nb_inst > 0) {
|
if (RC.nb_inst > 0) {
|
||||||
read_config_and_init();
|
|
||||||
|
|
||||||
if (create_tasks(1) < 0) {
|
if (create_tasks(1) < 0) {
|
||||||
printf("cannot create ITTI tasks\n");
|
printf("cannot create ITTI tasks\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user