Commit cc7acbec authored by luis_pereira87's avatar luis_pereira87

Update condition to preconfigure DRB in phy-test mode

parent 407dbfe5
...@@ -96,12 +96,12 @@ void mac_top_init_gNB(void) ...@@ -96,12 +96,12 @@ void mac_top_init_gNB(void)
// These should be out of here later // These should be out of here later
pdcp_layer_init(); pdcp_layer_init();
if(!(get_softmodem_params()->do_ra || get_softmodem_params()->sa) ) if(IS_SOFTMODEM_NOS1 && get_softmodem_params()->phy_test)
nr_DRB_preconfiguration(0x1234); nr_DRB_preconfiguration(0x1234);
rrc_init_nr_global_param(); rrc_init_nr_global_param();
}else { } else {
RC.nrmac = NULL; RC.nrmac = NULL;
} }
......
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