pespin has uploaded this change for review.

View Change

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)

To view, visit change 34925. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: If44e7c4a3166822d7732b7af4c136b8f97898dc0
Gerrit-Change-Number: 34925
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-MessageType: newchange