supplicant: Drop unnecessary quotes from phase2 value
authorHenri Bragge <henri.bragge@ixonos.com>
Fri, 7 Jan 2011 14:10:16 +0000 (16:10 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 7 Jan 2011 15:31:15 +0000 (16:31 +0100)
plugins/supplicant.c

index 6e29911..4458f83 100644 (file)
@@ -1210,7 +1210,7 @@ static int set_network_peap(struct connman_network *network,
                connman_info("No client certificate has been provided "
                             "to do the PEAP/TTLS authentication\n");
 
-       phase2_auth = g_strdup_printf("\"auth=%s\"", phase2);
+       phase2_auth = g_strdup_printf("auth=%s", phase2);
 
        connman_dbus_dict_append_basic(dict, "password",
                                                DBUS_TYPE_STRING, &passphrase);