modem-helpers: recognize 3GPP2 access tech strings too

Various Gobi-based devices (USB551L, probably Gobis too) can report
EVDO and 1X as the current RAT from CNTI so parse that here too.
This commit is contained in:
Dan Williams
2012-05-04 17:38:36 -05:00
parent 1e024c711a
commit 90f4a034b2
3 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ load_access_technologies_finish (MMIfaceModem *self,
p = strchr (p, ',');
if (p) {
/* We are reporting ALL 3GPP access technologies here */
*access_technologies = mm_3gpp_string_to_access_tech (p + 1);
*access_technologies = mm_string_to_access_tech (p + 1);
*mask = MM_IFACE_MODEM_3GPP_ALL_ACCESS_TECHNOLOGIES_MASK;
return TRUE;
}