pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-hnbgw/+/34925?usp=email )
Change subject: Use proper SCCP release cause enum value instead of hardcoded value ......................................................................
Use proper SCCP release cause enum value instead of hardcoded value
Change-Id: If44e7c4a3166822d7732b7af4c136b8f97898dc0 --- M src/osmo-hnbgw/context_map_sccp.c 1 file changed, 13 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/25/34925/1
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 <osmocom/core/fsm.h>
#include <osmocom/sigtran/sccp_helpers.h> +#include <osmocom/sccp/sccp_types.h>
#include <osmocom/ranap/ranap_common_ran.h>
@@ -183,7 +184,9 @@ 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)