Commit 8c607fe8 authored by wujing's avatar wujing Committed by masayuki.harada

Fix build error in --UE because of s1ap_eNB.c

(cherry picked from commit 519e6628d572c9b6cf8031632d4e22e2f8dc5b93)
parent 46407ca4
......@@ -329,7 +329,13 @@ void s1ap_eNB_handle_sctp_association_resp(instance_t instance, sctp_new_associa
for( ; cnt > 0 ; )
{
cnt--;
s1ap_ue_context_release( instance, (uint32_t)enb_s1ap_id[cnt] );
struct s1ap_eNB_ue_context_s *ue_context_p = NULL;
struct s1ap_eNB_ue_context_s *s1ap_ue_context_p = NULL;
ue_context_p = s1ap_eNB_get_ue_context(instance_p, (uint32_t)enb_s1ap_id[cnt]);
if (ue_context_p != NULL) {
s1ap_ue_context_p = RB_REMOVE(s1ap_ue_map, &instance_p->s1ap_ue_head, ue_context_p);
s1ap_eNB_free_ue_context(s1ap_ue_context_p);
}
}
s1ap_mme_data_p->mme_name = 0;
s1ap_mme_data_p->overload_state = S1AP_NO_OVERLOAD;
......
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