lynxis lazus submitted this change.
12 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
gprs_gmm: Set RAT on the VLR object
Will be used in GSUP messages.
Change-Id: I66270d07371501afc9e6bc00c654d7612543e0ca
---
M src/sgsn/gprs_gmm.c
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/sgsn/gprs_gmm.c b/src/sgsn/gprs_gmm.c
index 51b6296..2399516 100644
--- a/src/sgsn/gprs_gmm.c
+++ b/src/sgsn/gprs_gmm.c
@@ -1749,6 +1749,15 @@
goto rejected;
}
+ switch (mmctx->ran_type) {
+ case MM_CTX_T_GERAN_Gb:
+ mmctx->vsub->attached_via_ran = OSMO_RAT_GERAN_A;
+ break;
+ case MM_CTX_T_UTRAN_Iu:
+ mmctx->vsub->attached_via_ran = OSMO_RAT_UTRAN_IU;
+ break;
+ }
+
mmctx->attach_rau.old_rai = req.old_rai;
if (!strlen(mmctx->imsi) && strlen(mmctx->vsub->imsi))
To view, visit change 43470. To unsubscribe, or for help writing mail filters, visit settings.