Update condition to preconfigure DRB in phy-test mode

This commit is contained in:
luis_pereira87
2021-05-25 12:32:03 +01:00
parent 2a0510e29d
commit 145dd0c9bf
+1 -1
View File
@@ -96,7 +96,7 @@ 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();