Adding NSA mode for calling rlc_module_init and SCTP_TASK

This commit is contained in:
Deokseong "David" Kim
2021-10-19 01:36:07 +00:00
committed by Melissa
parent d1787a605e
commit a30e27cb11
2 changed files with 5 additions and 4 deletions
+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();