diff --git a/srsenb/src/upper/rrc.cc b/srsenb/src/upper/rrc.cc index 93b9f8499..2afedad08 100644 --- a/srsenb/src/upper/rrc.cc +++ b/srsenb/src/upper/rrc.cc @@ -1090,9 +1090,13 @@ void rrc::ue::notify_s1ap_ue_ctxt_setup_complete() void rrc::ue::notify_s1ap_ue_erab_setup_response(LIBLTE_S1AP_E_RABTOBESETUPLISTBEARERSUREQ_STRUCT *e) { LIBLTE_S1AP_MESSAGE_E_RABSETUPRESPONSE_STRUCT res; + res.ext=false; res.E_RABSetupListBearerSURes.len = 0; res.E_RABFailedToSetupListBearerSURes.len = 0; + res.CriticalityDiagnostics_present = false; + res.E_RABFailedToSetupListBearerSURes_present = false; + for(uint32_t i=0; ilen; i++) { res.E_RABSetupListBearerSURes_present = true; LIBLTE_S1AP_E_RABTOBESETUPITEMBEARERSUREQ_STRUCT *erab = &e->buffer[i];