Merge remote-tracking branch 'origin/fix-regression-pdu-sessio-release' into integration_2023_w21

This commit is contained in:
Robert Schmidt
2023-05-25 18:54:00 +02:00
2 changed files with 7 additions and 5 deletions
+6 -4
View File
@@ -28,10 +28,12 @@ rrc_pdu_session_param_t *find_pduSession(gNB_RRC_UE_t *ue, int id, bool create)
for (j = 0; j < ue->nb_of_pdusessions; j++) for (j = 0; j < ue->nb_of_pdusessions; j++)
if (id == ue->pduSession[j].param.pdusession_id) if (id == ue->pduSession[j].param.pdusession_id)
break; break;
if (j == ue->nb_of_pdusessions && create) if (j == ue->nb_of_pdusessions) {
ue->nb_of_pdusessions++; if (create)
else ue->nb_of_pdusessions++;
return NULL; else
return NULL;
}
return ue->pduSession + j; return ue->pduSession + j;
} }
+1 -1
View File
@@ -78,7 +78,7 @@ static int ngap_gNB_decode_initiating_message(NGAP_NGAP_PDU_t *pdu) {
case NGAP_ProcedureCode_id_PDUSessionResourceRelease: case NGAP_ProcedureCode_id_PDUSessionResourceRelease:
res = asn_encode_to_new_buffer(NULL, ATS_CANONICAL_XER, &asn_DEF_NGAP_NGAP_PDU, pdu); res = asn_encode_to_new_buffer(NULL, ATS_CANONICAL_XER, &asn_DEF_NGAP_NGAP_PDU, pdu);
free(res.buffer); free(res.buffer);
NGAP_INFO("TODO PDUSESSIONRelease initiating message\n"); NGAP_INFO("PDUSESSIONRelease initiating message\n");
break; break;
case NGAP_ProcedureCode_id_ErrorIndication: case NGAP_ProcedureCode_id_ErrorIndication: