diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-11-02 09:52:31 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-11-02 09:52:31 +0100 |
commit | 9ec90d9a11f53c91274a1341217e7da5f8621674 (patch) | |
tree | 2dc913f810b07b1d31cd78272932011e3df0d961 /plugins/x22x/mm-broadband-modem-x22x.c | |
parent | 96305bb5c1d32e5a0e517750501b705502e74111 (diff) |
core,plugins: don't assume 'CS' supported when '2G' supported
We will not report 'CS' as a supported mode every time '2G' is supported. This
actually was forcing all plugins to handle a 'CS' fallback when they didn't have
CS-specific mode setup. So, to simplify things, we will only report 'CS' as
supported for those plugins which actually allow to select 'CS' mode (e.g. the
'wavecom' plugin).
Diffstat (limited to 'plugins/x22x/mm-broadband-modem-x22x.c')
-rw-r--r-- | plugins/x22x/mm-broadband-modem-x22x.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/x22x/mm-broadband-modem-x22x.c b/plugins/x22x/mm-broadband-modem-x22x.c index b7b16891..f61845a7 100644 --- a/plugins/x22x/mm-broadband-modem-x22x.c +++ b/plugins/x22x/mm-broadband-modem-x22x.c @@ -153,13 +153,6 @@ set_allowed_modes (MMIfaceModem *self, user_data, set_allowed_modes); - /* There is no explicit config for CS connections, we just assume we may - * have them as part of 2G when no GPRS is available */ - if (allowed & MM_MODEM_MODE_CS) { - allowed |= MM_MODEM_MODE_2G; - allowed &= ~MM_MODEM_MODE_CS; - } - if (allowed == MM_MODEM_MODE_2G) syssel = 1; else if (allowed == MM_MODEM_MODE_3G) |