diff --git a/openair-cn/S1AP/s1ap_mme_handlers.c b/openair-cn/S1AP/s1ap_mme_handlers.c index 5fe8af7c7f8d7842707e4fea1a6e4fad460f7602..c077cf3978cefe18b28cdcc668db89745d52101a 100644 --- a/openair-cn/S1AP/s1ap_mme_handlers.c +++ b/openair-cn/S1AP/s1ap_mme_handlers.c @@ -234,7 +234,7 @@ int s1ap_mme_handle_s1_setup_request(uint32_t assoc_id, uint32_t stream, * This should not happen -> reject eNB s1 setup request. */ if (stream != 0) { - S1AP_DEBUG("Received new s1 setup request on stream != 0\n"); + S1AP_ERROR("Received new s1 setup request on stream != 0\n"); /* Send a s1 setup failure with protocol cause unspecified */ return s1ap_mme_generate_s1_setup_failure(assoc_id, S1ap_Cause_PR_protocol, S1ap_CauseProtocol_unspecified, -1); @@ -273,7 +273,7 @@ int s1ap_mme_handle_s1_setup_request(uint32_t assoc_id, uint32_t stream, config_unlock(&mme_config); if (nb_eNB_associated == max_enb_connected) { - S1AP_DEBUG("There is too much eNB connected to MME, rejecting the association\n"); + S1AP_ERROR("There is too much eNB connected to MME, rejecting the association\n"); S1AP_DEBUG("Connected = %d, maximum allowed = %d\n", nb_eNB_associated, max_enb_connected); @@ -326,7 +326,7 @@ int s1ap_mme_handle_s1_setup_request(uint32_t assoc_id, uint32_t stream, /* Send an overload cause... */ s1SetupFailure.cause.present = S1ap_Cause_PR_misc; //TODO: send the right cause s1SetupFailure.cause.choice.misc = S1ap_CauseMisc_control_processing_overload; - S1AP_DEBUG("Rejeting s1 setup request as eNB id %d is already associated to an active sctp association" + S1AP_ERROR("Rejeting s1 setup request as eNB id %d is already associated to an active sctp association" "Previous known: %d, new one: %d\n", eNB_id, eNB_association->sctp_assoc_id, assoc_id); // s1ap_mme_encode_s1setupfailure(&s1SetupFailure, @@ -339,6 +339,7 @@ int s1ap_mme_handle_s1_setup_request(uint32_t assoc_id, uint32_t stream, return s1ap_generate_s1_setup_response(eNB_association); } else { /* Can not process the request, MME is not connected to HSS */ + S1AP_ERROR("Rejecting s1 setup request Can not process the request, MME is not connected to HSS\n"); return s1ap_mme_generate_s1_setup_failure(assoc_id, S1ap_Cause_PR_misc, S1ap_CauseMisc_unspecified, -1); }