projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f774364
)
Add support using PSK when connecting to hidden networks
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 15 Dec 2009 02:21:50 +0000
(18:21 -0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 15 Dec 2009 02:21:50 +0000
(18:21 -0800)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
ec1882f
..
2adeb86
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-1849,9
+1849,10
@@
int __connman_service_create_and_connect(DBusMessage *msg)
return -EINVAL;
if (g_strcmp0(security, "none") != 0 &&
- g_strcmp0(security, "wep") != 0 &&
+ g_strcmp0(security, "wep") != 0 &&
+ g_strcmp0(security, "psk") != 0 &&
g_strcmp0(security, "wpa") != 0 &&
-
g_strcmp0(security, "rsn") != 0)
+ g_strcmp0(security, "rsn") != 0)
return -EINVAL;
device = __connman_element_find_device(CONNMAN_SERVICE_TYPE_WIFI);