modem-helpers: add EVDO rev. B and "CDMA2000 1X" to access tech helper

Some Huawei modems report these, and we may use the generic helper
in the future.
This commit is contained in:
Dan Williams
2012-12-05 11:00:31 -06:00
parent e3a71711bf
commit 75731cf21c

View File

@@ -1474,7 +1474,10 @@ mm_string_to_access_tech (const gchar *string)
if (strcasestr (string, "EvDO RelA"))
act |= MM_MODEM_ACCESS_TECHNOLOGY_EVDOA;
if (strcasestr (string, "1xRTT"))
if (strcasestr (string, "EvDO RelB"))
act |= MM_MODEM_ACCESS_TECHNOLOGY_EVDOB;
if (strcasestr (string, "1xRTT") || strcasestr (string, "CDMA2000 1X"))
act |= MM_MODEM_ACCESS_TECHNOLOGY_1XRTT;
return act;