From 68917f502e60a73bd1904bf6bf98b65354a55251 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 24 Mar 2020 07:01:36 +0100 Subject: api: new 'attached RLOS' registration state Reporting the state when the UE attaches to access restricted local operator services. --- src/mm-modem-helpers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mm-modem-helpers.c') diff --git a/src/mm-modem-helpers.c b/src/mm-modem-helpers.c index 5ecbfe12..e6dbd74c 100644 --- a/src/mm-modem-helpers.c +++ b/src/mm-modem-helpers.c @@ -2096,8 +2096,8 @@ mm_3gpp_parse_creg_response (GMatchInfo *info, return FALSE; } - /* 'roaming (csfb not preferred)' is the last valid state */ - if (stat > MM_MODEM_3GPP_REGISTRATION_STATE_ROAMING_CSFB_NOT_PREFERRED) { + /* 'attached RLOS' is the last valid state */ + if (stat > MM_MODEM_3GPP_REGISTRATION_STATE_ATTACHED_RLOS) { mm_obj_warn (log_object, "unknown registration state value '%lu'", stat); stat = MM_MODEM_3GPP_REGISTRATION_STATE_UNKNOWN; } -- cgit v1.2.3-70-g09d2