diff options
Diffstat (limited to 'include/osmocom/bsc/bsc_subscr_conn_fsm.h')
-rw-r--r-- | include/osmocom/bsc/bsc_subscr_conn_fsm.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/osmocom/bsc/bsc_subscr_conn_fsm.h b/include/osmocom/bsc/bsc_subscr_conn_fsm.h index a681bc4aa..d7deb06a8 100644 --- a/include/osmocom/bsc/bsc_subscr_conn_fsm.h +++ b/include/osmocom/bsc/bsc_subscr_conn_fsm.h @@ -93,6 +93,8 @@ bool gscon_is_sccplite(struct gsm_subscriber_connection *conn); static inline const struct osmo_plmn_id *gscon_last_eutran_plmn(const struct gsm_subscriber_connection *conn) { - return (conn && conn->last_eutran_plmn_valid) ? - &conn->last_eutran_plmn : NULL; + return (conn && conn->fast_return.allowed && + conn->fast_return.last_eutran_plmn_valid) ? + &conn->fast_return.last_eutran_plmn : + NULL; } |