diff --git a/openair-cn/OPENAIRHSS/s6a/s6a_fd.c b/openair-cn/OPENAIRHSS/s6a/s6a_fd.c index 76875a7572..ea64ad1ea1 100644 --- a/openair-cn/OPENAIRHSS/s6a/s6a_fd.c +++ b/openair-cn/OPENAIRHSS/s6a/s6a_fd.c @@ -273,12 +273,6 @@ int s6a_init(hss_config_t *hss_config_p) goto err; } - ret = fd_core_start(); - if (ret != 0) { - strcpy(why, "fd_core_start"); - goto err; - } - /* Parse the external configuration file */ ret = fd_core_parseconf(hss_config_p->freediameter_config); if (ret != 0) { @@ -286,6 +280,14 @@ int s6a_init(hss_config_t *hss_config_p) goto err; } + + ret = fd_core_start(); + if (ret != 0) { + strcpy(why, "fd_core_start"); + goto err; + } + + /* We wait till freediameter has completed loading extensions */ fd_core_waitstartcomplete();