Change in osmo-sgsn[master]: gsm0408_rcv_gmm: send Iu-ReleaseCommand upon receiving Attach Complete.

Mykola Shchetinin gerrit-no-reply at lists.osmocom.org
Sun Apr 7 14:14:35 UTC 2019


Mykola Shchetinin has uploaded this change for review. ( https://gerrit.osmocom.org/13544


Change subject: gsm0408_rcv_gmm: send Iu-ReleaseCommand upon receiving Attach Complete.
......................................................................

gsm0408_rcv_gmm: send Iu-ReleaseCommand upon receiving Attach Complete.

Change-Id: Ib5053e3cd655d08ff3fd0fefa48325fabb1797c8
Related: OS#3908
---
M src/gprs/gprs_gmm.c
1 file changed, 5 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/44/13544/1

diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c
index cc6ea4a..26d271c 100644
--- a/src/gprs/gprs_gmm.c
+++ b/src/gprs/gprs_gmm.c
@@ -2035,6 +2035,11 @@
 			goto null_mmctx;
 		/* only in case SGSN offered new P-TMSI */
 		LOGMMCTXP(LOGL_INFO, mmctx, "-> ATTACH COMPLETE\n");
+
+		if (mmctx->iu.ue_ctx) {
+			ranap_iu_tx_release(mmctx->iu.ue_ctx, NULL);
+		}
+
 		mmctx_timer_stop(mmctx, 3350);
 		mmctx->t3350_mode = GMM_T3350_MODE_NONE;
 		mmctx->p_tmsi_old = 0;

-- 
To view, visit https://gerrit.osmocom.org/13544
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib5053e3cd655d08ff3fd0fefa48325fabb1797c8
Gerrit-Change-Number: 13544
Gerrit-PatchSet: 1
Gerrit-Owner: Mykola Shchetinin <mykola at pentonet.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190407/715096d5/attachment.html>


More information about the gerrit-log mailing list