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
+2 -2
View File
@@ -96,12 +96,12 @@ void mac_top_init_gNB(void)
// These should be out of here later
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);
rrc_init_nr_global_param();
}else {
} else {
RC.nrmac = NULL;
}