diff options
Diffstat (limited to 'src/storage.c')
-rw-r--r-- | src/storage.c | 15 |
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; |