summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-12-14 18:24:56 -0800
committerMarcel Holtmann <marcel@holtmann.org>2009-12-14 18:24:56 -0800
commit3c33469caa49f982234d55b3f43efa2dbfdc02d3 (patch)
tree09b6cd1aa722374b1b828fe78185c0119cde86a1 /plugins
parentd41bcd7e940b53e163ebc51a611c48791cb99b15 (diff)
downloadconnman-3c33469caa49f982234d55b3f43efa2dbfdc02d3.tar.gz
connman-3c33469caa49f982234d55b3f43efa2dbfdc02d3.tar.bz2
connman-3c33469caa49f982234d55b3f43efa2dbfdc02d3.zip
Fix supplicant connection issue when specifying PSK security
Diffstat (limited to 'plugins')
-rw-r--r--plugins/supplicant.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/supplicant.c b/plugins/supplicant.c
index 2ef95fe5..a0daa594 100644
--- a/plugins/supplicant.c
+++ b/plugins/supplicant.c
@@ -790,7 +790,8 @@ static int set_network(struct supplicant_task *task,
connman_dbus_dict_append_variant(&dict, "bssid",
DBUS_TYPE_STRING, &address);
- if (g_ascii_strcasecmp(security, "wpa") == 0 ||
+ if (g_ascii_strcasecmp(security, "psk") == 0 ||
+ g_ascii_strcasecmp(security, "wpa") == 0 ||
g_ascii_strcasecmp(security, "rsn") == 0) {
const char *key_mgmt = "WPA-PSK";
connman_dbus_dict_append_variant(&dict, "key_mgmt",