aboutsummaryrefslogtreecommitdiffstats
path: root/src/libvlr
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-12-19 11:48:33 +0100
committerMax <msuraev@sysmocom.de>2018-12-19 11:48:33 +0100
commit7d41d870deffbe3c16250458b2791a666431f274 (patch)
treeecf31d329cab0135b458f7a97f84838455aeee3d /src/libvlr
parent2a0ac3b162da0f540c9b1726c3d6f30aa02ceae0 (diff)
Remove redundancy in LAC processing
Always use LAC which is part of Cell Global ID otherwise we might end up in a situation where separately stored LAC differs. Both are described in 3GPP TS 23.008 $2.4 as temporary subscriber data to be stored in VLR. Both are defined in 3GPP TS 23.003. The LAC is part of LAI which is part of CGI so there should be no case when those values differ for a given subscriber. Change-Id: I993ebc3e14f25e83124b6d3f8461a4b18f971f8e
Diffstat (limited to 'src/libvlr')
-rw-r--r--src/libvlr/vlr_lu_fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libvlr/vlr_lu_fsm.c b/src/libvlr/vlr_lu_fsm.c
index 5d171d5ed..e635305fa 100644
--- a/src/libvlr/vlr_lu_fsm.c
+++ b/src/libvlr/vlr_lu_fsm.c
@@ -950,7 +950,7 @@ static int assoc_lfp_with_sub(struct osmo_fsm_inst *fi, struct vlr_subscr *vsub)
vsub->lu_fsm = fi;
vsub->msc_conn_ref = lfp->msc_conn_ref;
/* FIXME: send new LAC to HLR? */
- vsub->lac = lfp->new_lai.lac;
+ vsub->cgi.lai.lac = lfp->new_lai.lac;
lfp->vsub = vsub;
/* Tell MSC to associate this subscriber with the given
* connection */