From a0707cf9c686f97363b4acd7cc3652f469627a00 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 30 Oct 2023 19:38:29 +0100 Subject: [PATCH] Use proper SCCP release cause enum value instead of hardcoded value Change-Id: If44e7c4a3166822d7732b7af4c136b8f97898dc0 --- src/osmo-hnbgw/context_map_sccp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/osmo-hnbgw/context_map_sccp.c b/src/osmo-hnbgw/context_map_sccp.c index 9b4837d..7d0176f 100644 --- a/src/osmo-hnbgw/context_map_sccp.c +++ b/src/osmo-hnbgw/context_map_sccp.c @@ -26,6 +26,7 @@ #include #include +#include #include @@ -183,7 +184,9 @@ static int tx_sccp_rlsd(struct osmo_fsm_inst *fi) return -1; } - return osmo_sccp_tx_disconn(map->cnlink->hnbgw_sccp_user->sccp_user, map->scu_conn_id, NULL, 0); + return osmo_sccp_tx_disconn(map->cnlink->hnbgw_sccp_user->sccp_user, + map->scu_conn_id, NULL, + SCCP_RELEASE_CAUSE_END_USER_ORIGINATED); } static int destruct_ranap_ran_rx_co_ies(ranap_message *ranap_message_p)