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.
This commit is contained in:
Melissa Elkadi
2021-10-15 09:13:36 -07:00
parent dbe23abcf3
commit fe78d8a08f
+1 -1
View File
@@ -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();