diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-07-02 18:36:32 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-07-02 21:46:49 +0200 |
commit | 1086e207545c186a5f84a99233ea97f56cc0fb99 (patch) | |
tree | a4222674c9dcac325cc5a611b676d13363bf9b5b /src/libvlr | |
parent | 8252959b74f9d3bcfcad5e100acc099066213752 (diff) |
vlr_sgs: Drop recorded LastEutranPlmnId when UE no longer associated
Change-Id: I0dcb1850ab4f6f7d42bfcb19665ddeae2d3b057a
Diffstat (limited to 'src/libvlr')
-rw-r--r-- | src/libvlr/vlr_sgs_fsm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libvlr/vlr_sgs_fsm.c b/src/libvlr/vlr_sgs_fsm.c index 0f21617b2..af26ca49e 100644 --- a/src/libvlr/vlr_sgs_fsm.c +++ b/src/libvlr/vlr_sgs_fsm.c @@ -59,6 +59,10 @@ static void to_null(struct osmo_fsm_inst *fi) * put us to NULL state, we have to free the pending TMSI */ vsub->tmsi_new = GSM_RESERVED_TMSI; + /* Make sure we remove recorded Last EUTRAN PLMN Id when UE ceases to be + * available over SGs */ + vlr_subscr_set_last_used_eutran_plmn_id(vsub, NULL); + /* Make sure any ongoing paging is aborted. */ if (vsub->cs.is_paging) paging_expired(vsub); |