aboutsummaryrefslogtreecommitdiffstats
path: root/src/libvlr/vlr_sgs_fsm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libvlr/vlr_sgs_fsm.c')
-rw-r--r--src/libvlr/vlr_sgs_fsm.c4
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);