Commit cdc5245c authored by Lionel Gauthier's avatar Lionel Gauthier

patches13/0019-broken-code-not-sure-how-to-fix.patch

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7065 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 3f0a3e0d
...@@ -945,6 +945,7 @@ boolean_t pdcp_remove_UE(const protocol_ctxt_t* const ctxt_pP) { ...@@ -945,6 +945,7 @@ boolean_t pdcp_remove_UE(const protocol_ctxt_t* const ctxt_pP) {
// check and remove SRBs first // check and remove SRBs first
for (srb_id=0;srb_id<2;srb_id++) { for (srb_id=0;srb_id<2;srb_id++) {
AssertFatal( srb_id-1 > 0, "Array index below zero (hard coded). FIXME!" );
pdcp_p = &pdcp_array_srb_eNB[ctxt_pP->enb_module_id][ctxt_pP->ue_module_id][srb_id-1]; pdcp_p = &pdcp_array_srb_eNB[ctxt_pP->enb_module_id][ctxt_pP->ue_module_id][srb_id-1];
if (pdcp_p->instanciated_instance == TRUE) { if (pdcp_p->instanciated_instance == TRUE) {
pdcp_p->instanciated_instance = FALSE; pdcp_p->instanciated_instance = FALSE;
......
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