[AMF] NG Setup Failure with proper cause (#1064)

This commit is contained in:
Sukchan Lee 2021-06-22 17:56:45 +09:00
parent 7f774884ea
commit a396ea8fc1
1 changed files with 4 additions and 4 deletions

View File

@ -316,8 +316,8 @@ void ngap_handle_ng_setup_request(amf_gnb_t *gnb, ogs_ngap_message_t *message)
ogs_warn("NG-Setup failure:");
ogs_warn(" Cannot find S_NSSAI. "
"Check 'amf.plmn_support.s_nssai' configuration");
group = NGAP_Cause_PR_misc;
cause = NGAP_CauseMisc_unknown_PLMN;
group = NGAP_Cause_PR_radioNetwork;
cause = NGAP_CauseRadioNetwork_slice_not_supported;
ogs_assert(OGS_OK ==
ngap_send_ng_setup_failure(gnb, group, cause));
@ -3593,8 +3593,8 @@ void ngap_handle_ran_configuration_update(
ogs_warn("RANConfigurationUpdate failure:");
ogs_warn(" Cannot find S_NSSAI. "
"Check 'amf.plmn_support.s_nssai' configuration");
group = NGAP_Cause_PR_misc;
cause = NGAP_CauseMisc_unknown_PLMN;
group = NGAP_Cause_PR_radioNetwork;
cause = NGAP_CauseRadioNetwork_slice_not_supported;
ogs_assert(OGS_OK ==
ngap_send_ran_configuration_update_failure(gnb, group, cause));