Fix copy-and-paste issue with SSID configuration field
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 23 Dec 2009 22:53:11 +0000 (14:53 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 23 Dec 2009 22:53:11 +0000 (14:53 -0800)
src/config.c

index eb083e0..6afe7fc 100644 (file)
@@ -72,7 +72,7 @@ static int load_service(GKeyFile *keyfile, struct connman_config *config)
                service->type = str;
        }
 
-       hex_ssid = g_key_file_get_string(keyfile, "service", "Type", NULL);
+       hex_ssid = g_key_file_get_string(keyfile, "service", "SSID", NULL);
        if (hex_ssid != NULL) {
                char *ssid;
                unsigned int i, j = 0, hex;