aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2016-02-23 20:09:39 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-03 16:19:11 +0100
commit330898afb75960a6868d27f7f0f9dbd736345bfa (patch)
treed1f90a898fdcba9e39fdda8a5cd030a701dfff18
parent77544a65b53ca30380b1262e58ebd744e29c0606 (diff)
gprs: Update ue ctx from msg
In case a Iu connection is reconnected we need to update the ue ctx
-rw-r--r--openbsc/src/gprs/gprs_gmm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c
index 66f461d10..54f5a58b7 100644
--- a/openbsc/src/gprs/gprs_gmm.c
+++ b/openbsc/src/gprs/gprs_gmm.c
@@ -160,6 +160,7 @@ static void msgid2mmctx(struct sgsn_mm_ctx *mm, const struct msgb *msg)
{
mm->gb.bvci = msgb_bvci(msg);
mm->gb.nsei = msgb_nsei(msg);
+ mm->iu.ue_ctx = msg->dst;
}
/* Store BVCI/NSEI in MM context */