enb,s1ap: make sure we trigger s1 setup failure when we get the S1 setup failure message

master
Pedro Alvarez 3 years ago
parent 2a60562a2e
commit 3c17686c0a

@ -1133,6 +1133,10 @@ bool s1ap::handle_s1setupfailure(const asn1::s1ap::s1_setup_fail_s& msg)
return false;
}
s1_setup_proc_t::s1setupresult res;
res.success = false;
s1setup_proc.trigger(res);
std::string cause = get_cause(msg->cause.value);
logger.error("S1 Setup Failure. Cause: %s", cause.c_str());
srsran::console("S1 Setup Failure. Cause: %s\n", cause.c_str());

Loading…
Cancel
Save