Store the WiFi SSID value with keyword SSID
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 12 Jul 2009 09:47:12 +0000 (02:47 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 12 Jul 2009 09:47:12 +0000 (02:47 -0700)
src/service.c

index 9935e6d..786efd7 100644 (file)
@@ -1565,7 +1565,7 @@ static int service_load(struct connman_service *service)
 
                        hex_ssid = g_key_file_get_string(keyfile,
                                                        service->identifier,
-                                                       "WiFi.SSID", NULL);
+                                                               "SSID", NULL);
 
                        if (hex_ssid != NULL) {
                                gchar *ssid;
@@ -1693,7 +1693,7 @@ update:
                                                        "%02x", ssid[i]);
 
                                g_key_file_set_string(keyfile, identifier,
-                                                       "WiFi.SSID", str->str);
+                                                       "SSID", str->str);
 
                                g_string_free(str, TRUE);
                        }