summaryrefslogtreecommitdiff
path: root/plugins/huawei
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-11-02 09:52:31 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-11-02 09:52:31 +0100
commit9ec90d9a11f53c91274a1341217e7da5f8621674 (patch)
tree2dc913f810b07b1d31cd78272932011e3df0d961 /plugins/huawei
parent96305bb5c1d32e5a0e517750501b705502e74111 (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/huawei')
-rw-r--r--plugins/huawei/mm-broadband-modem-huawei.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/huawei/mm-broadband-modem-huawei.c b/plugins/huawei/mm-broadband-modem-huawei.c
index 77441f43..5cac1fdc 100644
--- a/plugins/huawei/mm-broadband-modem-huawei.c
+++ b/plugins/huawei/mm-broadband-modem-huawei.c
@@ -646,13 +646,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_mode_to_huawei (allowed,
preferred,
&mode,