Commit c5b21d42 authored by Guido Casati's avatar Guido Casati

OAI UE: set RLC entity status to false when releasing entity in nr_rrc_manage_rlc_bearers

The previously introduced function rrc_release_rlc_entity has been
adopted to deactvate the RLC entities after release.
parent 3445d3bb
......@@ -1673,7 +1673,7 @@ static void nr_rrc_manage_rlc_bearers(NR_UE_RRC_INST_t *rrc, const NR_CellGroupC
for (int i = 0; i < cellGroupConfig->rlc_BearerToReleaseList->list.count; i++) {
NR_LogicalChannelIdentity_t *lcid = cellGroupConfig->rlc_BearerToReleaseList->list.array[i];
AssertFatal(lcid, "LogicalChannelIdentity shouldn't be null here\n");
nr_rlc_release_entity(rrc->ue_id, *lcid);
nr_rrc_release_rlc_entity(rrc, *lcid);
}
}
......
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