lynxis lazus has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-iuh/+/15666


Change subject: iu_client: ranap_iu_tx_release() change default cause code to 
Success
......................................................................

iu_client: ranap_iu_tx_release() change default cause code to Success

The cause code no remaining rab should only used, when closing the Iu connection
on this specific reason. Change default to NAS Sucess Release which is a
usual release.

Change-Id: Icf3f06b0de7dcda9f967ae29863054ef813c75e5
---
M src/iu_client.c
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/66/15666/1

diff --git a/src/iu_client.c b/src/iu_client.c
index f4a9cd3..4b0acb0 100644
--- a/src/iu_client.c
+++ b/src/iu_client.c
@@ -468,15 +468,15 @@
 }

 /* Send Iu Release for the given UE connection.
- * If cause is NULL, the standard "No remaining RAB" cause is sent, otherwise
+ * If cause is NULL, Normal Release cause is sent, otherwise
  * the provided cause. */
 int ranap_iu_tx_release(struct ranap_ue_conn_ctx *ctx, const struct 
RANAP_Cause *cause)
 {
        struct msgb *msg;
        struct osmo_scu_prim *prim;
        static const struct RANAP_Cause default_cause = {
-               .present = RANAP_Cause_PR_radioNetwork,
-               .choice.radioNetwork = RANAP_CauseRadioNetwork_no_remaining_rab,
+               .present = RANAP_Cause_PR_nAS,
+               .choice.radioNetwork = RANAP_CauseNAS_normal_release,
        };

        if (!cause)

--
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/15666
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: Icf3f06b0de7dcda9f967ae29863054ef813c75e5
Gerrit-Change-Number: 15666
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Gerrit-MessageType: newchange

Reply via email to