Commit 2313f980 authored by Vijay Chadachan's avatar Vijay Chadachan

To fix the nb_pdu_sessions decrement in the UE Context for PDU_SESSION_RELEASE processing

parent 0be397b2
......@@ -1240,7 +1240,9 @@ rrc_gNB_send_NGAP_PDUSESSION_RELEASE_RESPONSE(
//clear
memset(&UE->pduSession[i], 0, sizeof(*UE->pduSession));
UE->pduSession[i].status = PDU_SESSION_STATUS_RELEASED;
LOG_W(NR_RRC, "Released pdu session, but code to finish to free memory\n");
UE->nb_of_pdusessions--;
LOG_W(NR_RRC, "Released pdu session, but code to finish to free memory, curr nb_of_pdusessions %d for UE %x\n",
UE->nb_of_pdusessions,UE->rnti);
}
}
......
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