diff options
author | Dan Williams <dcbw@redhat.com> | 2012-12-05 11:00:31 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-12-05 11:43:58 -0600 |
commit | 75731cf21c9eb64f70ba243122a7c384c4d1be00 (patch) | |
tree | d5f14a00b8a954f0c2d24da4b9e3d59b1b9e8f9c | |
parent | e3a71711bfbb0998b85bdb00fe7857c34b560dec (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.c | 5 |
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 @@ -1471,13 +1471,16 @@ mm_string_to_access_tech (const gchar *string) if (strcasestr (string, "EvDO Rel0")) act |= MM_MODEM_ACCESS_TECHNOLOGY_EVDO0; 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; } /*************************************************************************/ |