pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-hnbgw/+/40712?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
There's no behavior change since the enum item has value 0.
Change-Id: I9de79db8e16cf425919b678d837b46f24ffe9bbe --- M src/osmo-hnbgw/hnbgw_sccp.c 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/12/40712/1
diff --git a/src/osmo-hnbgw/hnbgw_sccp.c b/src/osmo-hnbgw/hnbgw_sccp.c index 5baef06..6f01f7c 100644 --- a/src/osmo-hnbgw/hnbgw_sccp.c +++ b/src/osmo-hnbgw/hnbgw_sccp.c @@ -448,7 +448,8 @@ return -1; }
- rc = osmo_sccp_tx_disconn(hsu->sccp_user, scu_conn_id, NULL, 0); + rc = osmo_sccp_tx_disconn(hsu->sccp_user, scu_conn_id, NULL, + SCCP_RELEASE_CAUSE_END_USER_ORIGINATED); if (rc) LOG_HSU(hsu, DCN, LOGL_ERROR, "Failed to send SCCP N-DISCONNECT.req(%u)\n", scu_conn_id); return rc;