Commit fe78d8a0 authored by Melissa Elkadi's avatar Melissa Elkadi

Only calling rlc_module_init for NSA mode

In develop, this function call was commented out.
It is necessary for NSA mode so we have modified
the logic for this case.
parent dbe23abc
......@@ -397,7 +397,7 @@ void init_pdcp(int ue_id) {
if (IS_SOFTMODEM_NOKRNMOD) {
pdcp_initmask = pdcp_initmask | UE_NAS_USE_TUN_BIT;
}
if (rlc_module_init(0) != 0) {
if (get_softmodem_params()->nsa && rlc_module_init(0) != 0) {
LOG_I(RLC, "Problem at RLC initiation \n");
}
pdcp_layer_init();
......
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