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/longcheer | |
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/longcheer')
-rw-r--r-- | plugins/longcheer/mm-broadband-modem-longcheer.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/longcheer/mm-broadband-modem-longcheer.c b/plugins/longcheer/mm-broadband-modem-longcheer.c index 1e52c2ea..9734eb8f 100644 --- a/plugins/longcheer/mm-broadband-modem-longcheer.c +++ b/plugins/longcheer/mm-broadband-modem-longcheer.c @@ -148,13 +148,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) mododr = 3; else if (allowed == MM_MODEM_MODE_3G) |