Commit 50b0c9c8 authored by Cedric Roux's avatar Cedric Roux

- Fix NAS non delivery indication message encoding

- Removed assertion that checks if UE is connected  when trying to send a NAS non delivery indication to HSS

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4671 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent bce6aaa3
......@@ -370,8 +370,6 @@ void s1ap_eNB_nas_non_delivery_ind(instance_t instance,
return;
}
DevAssert(ue_context_p->ue_state == S1AP_UE_CONNECTED);
/* Prepare the S1AP message to encode */
memset(&message, 0, sizeof(s1ap_message));
......@@ -391,6 +389,10 @@ void s1ap_eNB_nas_non_delivery_ind(instance_t instance,
nas_non_delivery_p->nas_pdu.buf = s1ap_nas_non_delivery_ind->nas_pdu.buffer;
nas_non_delivery_p->nas_pdu.size = s1ap_nas_non_delivery_ind->nas_pdu.length;
/* Send a dummy cause */
nas_non_delivery_p->cause.present = S1ap_Cause_PR_radioNetwork;
nas_non_delivery_p->cause.choice.radioNetwork = S1ap_CauseRadioNetwork_radio_connection_with_ue_lost;
/* UE associated signalling -> use the allocated stream */
s1ap_eNB_itti_send_sctp_data_req(s1ap_eNB_instance_p->instance,
ue_context_p->mme_ref->assoc_id, buffer,
......
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