Added one more condition for valid cell config

This commit is contained in:
Deokseong "David" Kim
2021-10-25 21:46:27 +00:00
committed by Melissa
parent d08eed8f3a
commit a13ed80cb7
+1 -1
View File
@@ -689,7 +689,7 @@ int nr_rrc_mac_config_req_ue(
}
config_control_ue(mac);
if (get_softmodem_params()->nsa) {
if (cell_group_config->spCellConfig->reconfigurationWithSync) {
if (cell_group_config->spCellConfig && cell_group_config->spCellConfig->reconfigurationWithSync) {
if (cell_group_config->spCellConfig->reconfigurationWithSync->rach_ConfigDedicated) {
ra->rach_ConfigDedicated = cell_group_config->spCellConfig->reconfigurationWithSync->rach_ConfigDedicated->choice.uplink;
}