diff options
author | root <root@rshg054.dnsready.net> | 2013-06-08 00:07:33 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-06-08 00:07:33 -0700 |
commit | e90166c70f3a2bd27d8c914491f7e0510855fd3f (patch) | |
tree | c0ec802e40354cae1e19532f4dc5e16713d869df /extra/networkmanager/modem-manager-0.7.991-1.patch | |
parent | 0312a836fd7650702bd6667fee9e949b585126d8 (diff) |
Sat Jun 8 00:07:33 PDT 2013
Diffstat (limited to 'extra/networkmanager/modem-manager-0.7.991-1.patch')
-rw-r--r-- | extra/networkmanager/modem-manager-0.7.991-1.patch | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/extra/networkmanager/modem-manager-0.7.991-1.patch b/extra/networkmanager/modem-manager-0.7.991-1.patch deleted file mode 100644 index 02ed33fdd..000000000 --- a/extra/networkmanager/modem-manager-0.7.991-1.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 0ff869e1c76803348047150bb6a361f1fef9ef87 Mon Sep 17 00:00:00 2001 -From: Aleksander Morgado <aleksander@lanedo.com> -Date: Mon, 03 Jun 2013 10:21:25 +0000 -Subject: modem-manager: don't request allowed modes when talking to ModemManager1 modems - -Just let them get connected with whatever network type they currently have. ---- -diff --git a/src/modem-manager/nm-modem-broadband.c b/src/modem-manager/nm-modem-broadband.c -index 538b262..53839df 100644 ---- a/src/modem-manager/nm-modem-broadband.c -+++ b/src/modem-manager/nm-modem-broadband.c -@@ -262,45 +262,6 @@ create_gsm_connect_properties (NMConnection *connection) - if (str) - mm_simple_connect_properties_set_password (properties, str); - -- /* TODO: We should check SUPPORTED MODES here */ -- switch (nm_setting_gsm_get_network_type (setting)) { -- case NM_SETTING_GSM_NETWORK_TYPE_UMTS_HSPA: -- mm_simple_connect_properties_set_allowed_modes (properties, -- MM_MODEM_MODE_3G, -- MM_MODEM_MODE_NONE); -- break; -- case NM_SETTING_GSM_NETWORK_TYPE_GPRS_EDGE: -- mm_simple_connect_properties_set_allowed_modes (properties, -- MM_MODEM_MODE_2G, -- MM_MODEM_MODE_NONE); -- break; -- case NM_SETTING_GSM_NETWORK_TYPE_PREFER_UMTS_HSPA: -- mm_simple_connect_properties_set_allowed_modes (properties, -- MM_MODEM_MODE_ANY, -- MM_MODEM_MODE_3G); -- break; -- case NM_SETTING_GSM_NETWORK_TYPE_PREFER_GPRS_EDGE: -- mm_simple_connect_properties_set_allowed_modes (properties, -- MM_MODEM_MODE_ANY, -- MM_MODEM_MODE_2G); -- break; -- case NM_SETTING_GSM_NETWORK_TYPE_PREFER_4G: -- mm_simple_connect_properties_set_allowed_modes (properties, -- MM_MODEM_MODE_ANY, -- MM_MODEM_MODE_4G); -- break; -- case NM_SETTING_GSM_NETWORK_TYPE_4G: -- mm_simple_connect_properties_set_allowed_modes (properties, -- MM_MODEM_MODE_4G, -- MM_MODEM_MODE_NONE); -- break; -- default: -- mm_simple_connect_properties_set_allowed_modes (properties, -- MM_MODEM_MODE_ANY, -- MM_MODEM_MODE_NONE); -- break; -- } -- - /* Roaming */ - if (nm_setting_gsm_get_home_only (setting)) - mm_simple_connect_properties_set_allow_roaming (properties, FALSE); --- -cgit v0.9.0.2-2-gbebe |