summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2012-12-05 11:00:31 -0600
committerDan Williams <dcbw@redhat.com>2012-12-05 11:43:58 -0600
commit75731cf21c9eb64f70ba243122a7c384c4d1be00 (patch)
treed5f14a00b8a954f0c2d24da4b9e3d59b1b9e8f9c
parente3a71711bfbb0998b85bdb00fe7857c34b560dec (diff)
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.
-rw-r--r--src/mm-modem-helpers.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mm-modem-helpers.c b/src/mm-modem-helpers.c
index 928fa6f3..e8c8f887 100644
--- a/src/mm-modem-helpers.c
+++ b/src/mm-modem-helpers.c
@@ -1474,7 +1474,10 @@ mm_string_to_access_tech (const gchar *string)
1474 if (strcasestr (string, "EvDO RelA")) 1474 if (strcasestr (string, "EvDO RelA"))
1475 act |= MM_MODEM_ACCESS_TECHNOLOGY_EVDOA; 1475 act |= MM_MODEM_ACCESS_TECHNOLOGY_EVDOA;
1476 1476
1477 if (strcasestr (string, "1xRTT")) 1477 if (strcasestr (string, "EvDO RelB"))
1478 act |= MM_MODEM_ACCESS_TECHNOLOGY_EVDOB;
1479
1480 if (strcasestr (string, "1xRTT") || strcasestr (string, "CDMA2000 1X"))
1478 act |= MM_MODEM_ACCESS_TECHNOLOGY_1XRTT; 1481 act |= MM_MODEM_ACCESS_TECHNOLOGY_1XRTT;
1479 1482
1480 return act; 1483 return act;