diff options
author | Marius B. Kotsbak <marius@kotsbak.com> | 2012-09-01 02:04:19 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-09-02 15:32:59 +0200 |
commit | 5eab715bb6a9c3f6aacdb77bcf036d25caed72c6 (patch) | |
tree | 5a1a552e59387e43b2abf1749aa2cd6776311498 /src/mm-modem-helpers.c | |
parent | 6f2c440b7be4e843c1eb193eb04f111924a89dfd (diff) |
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"
Diffstat (limited to 'src/mm-modem-helpers.c')
-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 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+")) |