From c28ff0d5470f0564cc09d8fa06e18506876033a3 Mon Sep 17 00:00:00 2001 From: Ben Chan Date: Tue, 28 Jan 2014 23:44:01 -0800 Subject: modem-helpers: recognize "3G" as UMTS access technology Some modems (e.g. ZTE MF190) report UMTS access technology as "3G": --> 'AT+ZPAS?' <-- '+ZPAS: "3G","CS_PS"OK' --- 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 a295dc3e..9eefb33e 100644 --- a/src/mm-modem-helpers.c +++ b/src/mm-modem-helpers.c @@ -1777,7 +1777,7 @@ mm_string_to_access_tech (const gchar *string) if (strcasestr (string, "HSDPA")) act |= MM_MODEM_ACCESS_TECHNOLOGY_HSDPA; - if (strcasestr (string, "UMTS")) + if (strcasestr (string, "UMTS") || strcasestr (string, "3G")) act |= MM_MODEM_ACCESS_TECHNOLOGY_UMTS; if (strcasestr (string, "EDGE")) -- cgit v1.2.3-70-g09d2