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>'
This commit is contained in:
@@ -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"))
|
||||
|
Reference in New Issue
Block a user