diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-02 02:44:05 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-02 03:20:21 +0100 |
commit | d2278ec8990ecb372672bf5aed926c7bff93c474 (patch) | |
tree | 4eaba96c4cbd60f28f567b4d0a832b5ab7c92b14 /src/libvlr | |
parent | 379d5799f0d6bbfce031c2f17c2840ce43a5ac98 (diff) |
vlr: fix post-auth LU failure handling
From the vlr_loc_update() FSM, don't call the vlr_lu_compl_fsm_failure()
function. These are two distinct FSMs with distinct priv pointers, but they are
defined in the same .c file.
In vlr_loc_upd_post_auth(), change two erratic calls of
vlr_lu_compl_fsm_failure() to lu_fsm_failure(), so that the proper fi and priv
struct are used.
Fixes: OS#2947
Change-Id: I7fd2c6fa23254fffd0d526e53541f4068153929f
Diffstat (limited to 'src/libvlr')
-rw-r--r-- | src/libvlr/vlr_lu_fsm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libvlr/vlr_lu_fsm.c b/src/libvlr/vlr_lu_fsm.c index 25deeb66e..d0500c468 100644 --- a/src/libvlr/vlr_lu_fsm.c +++ b/src/libvlr/vlr_lu_fsm.c @@ -830,7 +830,7 @@ static void vlr_loc_upd_post_auth(struct osmo_fsm_inst *fi) if (!vsub->last_tuple) { LOGPFSML(fi, LOGL_ERROR, "No auth tuple available\n"); - vlr_lu_compl_fsm_failure(fi, GSM48_REJECT_NETWORK_FAILURE); + lu_fsm_failure(fi, GSM48_REJECT_NETWORK_FAILURE); return; } @@ -840,7 +840,7 @@ static void vlr_loc_upd_post_auth(struct osmo_fsm_inst *fi) vsub->vlr->cfg.retrieve_imeisv_ciphered)) { LOGPFSML(fi, LOGL_ERROR, "Failed to send Ciphering Mode Command\n"); - vlr_lu_compl_fsm_failure(fi, GSM48_REJECT_NETWORK_FAILURE); + lu_fsm_failure(fi, GSM48_REJECT_NETWORK_FAILURE); return; } |