diff options
Diffstat (limited to 'src/mm-modem-helpers.c')
-rw-r--r-- | src/mm-modem-helpers.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-modem-helpers.c b/src/mm-modem-helpers.c index 405b3332..75ae00e1 100644 --- a/src/mm-modem-helpers.c +++ b/src/mm-modem-helpers.c @@ -4322,6 +4322,7 @@ gboolean mm_3gpp_parse_operator_id (const gchar *operator_id, guint16 *mcc, guint16 *mnc, + gboolean *three_digit_mnc, GError **error) { guint len; @@ -4373,6 +4374,9 @@ mm_3gpp_parse_operator_id (const gchar *operator_id, *mnc = atoi (aux); } + if (three_digit_mnc) + *three_digit_mnc = len == 6; + return TRUE; } |