summaryrefslogtreecommitdiff
path: root/src/storage.c
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2012-12-11 16:36:26 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-01-04 13:00:31 +0200
commit35f61b1f8f53033a7333b56be18328d426dc24a1 (patch)
tree85d223d1a1711b622bedfddb0874c136f72d36ec /src/storage.c
parentbb4ade7dc5d9c734a81b50313c9ff54b9f4ca7dc (diff)
downloadconnman-35f61b1f8f53033a7333b56be18328d426dc24a1.tar.gz
connman-35f61b1f8f53033a7333b56be18328d426dc24a1.tar.bz2
connman-35f61b1f8f53033a7333b56be18328d426dc24a1.zip
core: Remove WiMAX definitions from code
Diffstat (limited to 'src/storage.c')
-rw-r--r--src/storage.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/storage.c b/src/storage.c
index 3c3ce41f..3c99795c 100644
--- a/src/storage.c
+++ b/src/storage.c
@@ -500,7 +500,6 @@ void __connman_storage_migrate(void)
strncmp(services[i], "ethernet_", 9) != 0 &&
strncmp(services[i], "cellular_", 9) != 0 &&
strncmp(services[i], "bluetooth_", 10) != 0 &&
- strncmp(services[i], "wimax_", 6) != 0 &&
strncmp(services[i], "vpn_", 4) != 0)
continue;
@@ -620,20 +619,6 @@ void __connman_storage_migrate(void)
g_key_file_set_boolean(keyfile, "Cellular",
"Enable", val);
- val = g_key_file_get_boolean(keyfile_def, "WiMAX",
- "Enable", &error);
- if (error != NULL) {
- g_clear_error(&error);
- val = g_key_file_get_boolean(keyfile_def, "device_WiMAX", "Powered", &error);
- if (error != NULL) {
- g_clear_error(&error);
- val = FALSE;
- }
- }
-
- g_key_file_set_boolean(keyfile, "WiMAX",
- "Enable", val);
-
if (__connman_storage_save_global(keyfile) < 0) {
connman_warn("Migrating global config failed");
delete_old_config = FALSE;