From 75731cf21c9eb64f70ba243122a7c384c4d1be00 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 5 Dec 2012 11:00:31 -0600 Subject: 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. --- src/mm-modem-helpers.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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) 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; -- cgit v1.2.3-70-g09d2