update it

This commit is contained in:
Sukchan Lee 2018-02-03 08:49:46 +09:00
parent e72d79a328
commit 23998862f2
2 changed files with 2 additions and 2 deletions

View File

@ -275,7 +275,7 @@ void mme_state_operational(fsm_t *s, event_t *e)
/* If NAS(mme_ue_t) has already been associated with
* older S1(enb_ue_t) context */
if (mme_ue->enb_ue)
if (mme_ue->enb_ue && mme_ue->enb_ue->mme_ue)
{
#if SEND_UE_CTX_REL_CMD_IMMEDIATELY
/* Send UE context release command to

View File

@ -161,7 +161,7 @@ void s1ap_handle_initial_ue_message(mme_enb_t *enb, s1ap_message_t *message)
/* If NAS(mme_ue_t) has already been associated with
* older S1(enb_ue_t) context */
if (mme_ue->enb_ue)
if (mme_ue->enb_ue && mme_ue->enb_ue->mme_ue)
{
#if SEND_UE_CTX_REL_CMD_IMMEDIATELY
/* Send UE context release command to