Commit 9b2081e1 authored by Haruki NAOI's avatar Haruki NAOI

Fix: compilation.

parent 17c36d0f
......@@ -2603,6 +2603,7 @@ add_new_ue(module_id_t mod_idP,
)
//------------------------------------------------------------------------------
{
eNB_MAC_INST *eNB = RC.mac[mod_idP];
int UE_id;
int i, j;
UE_list_t *UE_list = &RC.mac[mod_idP]->UE_list;
......
......@@ -429,16 +429,17 @@ void s1ap_eNB_handle_sctp_association_resp(instance_t instance, sctp_new_associa
// }
else
{
/* Update parameters */
s1ap_mme_data_p->assoc_id = sctp_new_association_resp->assoc_id;
s1ap_mme_data_p->in_streams = sctp_new_association_resp->in_streams;
s1ap_mme_data_p->out_streams = sctp_new_association_resp->out_streams;
/* Prepare new S1 Setup Request */
s1ap_mme_data_p->s1_setupreq_cnt = 0;
s1ap_mme_data_p->sctp_req_cnt = 0;
if (s1ap_eNB_generate_s1_setup_request(instance_p, s1ap_mme_data_p) == -1) {
S1AP_ERROR("s1ap eNB generate s1 setup request failed\n");
return;
/* Update parameters */
s1ap_mme_data_p->assoc_id = sctp_new_association_resp->assoc_id;
s1ap_mme_data_p->in_streams = sctp_new_association_resp->in_streams;
s1ap_mme_data_p->out_streams = sctp_new_association_resp->out_streams;
/* Prepare new S1 Setup Request */
s1ap_mme_data_p->s1_setupreq_cnt = 0;
s1ap_mme_data_p->sctp_req_cnt = 0;
if (s1ap_eNB_generate_s1_setup_request(instance_p, s1ap_mme_data_p) == -1) {
S1AP_ERROR("s1ap eNB generate s1 setup request failed\n");
return;
}
}
}
......
......@@ -1547,17 +1547,6 @@ void *pre_scd_task( void *param ) {
eNB = RC.mac[Mod_id];
UE_list = &eNB->UE_list;
if(g_dact_collection)
{
uint32_t meas_ret;
meas_ret = fjt_meas_ringbuff_create(PRE_THREAD_FLAG);
if( meas_ret == FJT_MEAS_RET_FATAL )
{
LOG_E(GTPU, "fjt_meas_ringbuff_create NG in pre_scd_thread.[ret=%u]",meas_ret);
oai_exit = 1;
return 0;
}
}
while (!oai_exit) {
if(oai_exit) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment