summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2012-12-05 17:00:31 (GMT)
committerDan Williams <dcbw@redhat.com>2012-12-05 17:43:58 (GMT)
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 928fa6f..e8c8f88 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)
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;