diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/supplicant.c | 3 |
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", |