projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d41bcd7
)
Fix supplicant connection issue when specifying PSK security
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 15 Dec 2009 02:24:56 +0000
(18:24 -0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 15 Dec 2009 02:24:56 +0000
(18:24 -0800)
plugins/supplicant.c
patch
|
blob
|
history
diff --git
a/plugins/supplicant.c
b/plugins/supplicant.c
index
2ef95fe
..
a0daa59
100644
(file)
--- 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",