Skip to content

Commit 06a05b5

Browse files
FabianEckermanncodebot
authored andcommitted
cu_cp: add handling of failing rrc reconfig to initial context setup routine
1 parent c454c22 commit 06a05b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/cu_cp/routines/initial_context_setup_routine.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,12 @@ void initial_context_setup_routine::operator()(
156156
}
157157

158158
CORO_AWAIT_VALUE(rrc_reconfig_result, rrc_ue.handle_rrc_reconfiguration_request(rrc_reconfig_args));
159+
// Handle RRC Reconfiguration result
160+
if (not rrc_reconfig_result) {
161+
logger.warning("ue={}: \"{}\" RRC Reconfiguration failed", request.ue_index, name());
162+
handle_failure();
163+
CORO_EARLY_RETURN(make_unexpected(fail_msg));
164+
}
159165
}
160166

161167
// Schedule transmission of UE Radio Capability Info Indication

0 commit comments

Comments
 (0)