diff options
author | Ben Chan <benchan@chromium.org> | 2014-01-28 23:44:01 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2014-01-29 10:15:17 -0600 |
commit | c28ff0d5470f0564cc09d8fa06e18506876033a3 (patch) | |
tree | a1e8c1aec4f1216b079b7f16a9a812173b715b05 /src | |
parent | c5cfa2cad103bba58f281324458be6c05dbd8326 (diff) |
modem-helpers: recognize "3G" as UMTS access technology
Some modems (e.g. ZTE MF190) report UMTS access technology as "3G":
--> 'AT+ZPAS?<CR>'
<-- '<CR><LF>+ZPAS: "3G","CS_PS"<CR><LF><CR><LF>OK<CR><LF>'
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-modem-helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
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")) |