From 5eab715bb6a9c3f6aacdb77bcf036d25caed72c6 Mon Sep 17 00:00:00 2001 From: "Marius B. Kotsbak" Date: Sat, 1 Sep 2012 02:04:19 +0200 Subject: modem-helpers: recognize "4G" as LTE access technology Some modems (e.g. ZTE MF 820D) report LTE access technology as "4G": +ZPAS: "4G","PS_ONLY" --- src/mm-modem-helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mm-modem-helpers.c b/src/mm-modem-helpers.c index e595c45b..991900ce 100644 --- a/src/mm-modem-helpers.c +++ b/src/mm-modem-helpers.c @@ -1361,7 +1361,7 @@ mm_string_to_access_tech (const gchar *string) /* We're returning a MASK of technologies found; so we can include more * than one technology in the result */ - if (strcasestr (string, "LTE")) + if (strcasestr (string, "LTE") || strcasestr (string, "4G")) act |= MM_MODEM_ACCESS_TECHNOLOGY_LTE; if (strcasestr (string, "HSPA+")) -- cgit v1.2.3-70-g09d2