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:
c0e306d
)
wifi: Set AP ciphers to CCMP only
author
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 2 Feb 2011 23:25:33 +0000
(
00:25
+0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 2 Feb 2011 23:26:25 +0000
(
00:26
+0100)
For security reasons, only AES is supported.
plugins/wifi.c
patch
|
blob
|
history
diff --git
a/plugins/wifi.c
b/plugins/wifi.c
index 23a222095750317449b3effdf6afa08a1550db5c..efaceff773c2991a3a49fcaf3a90af54fda1b759 100644
(file)
--- a/
plugins/wifi.c
+++ b/
plugins/wifi.c
@@
-894,6
+894,8
@@
static GSupplicantSSID *ssid_ap_init(const char *ssid, const char *passphrase)
ap->passphrase = NULL;
} else {
ap->security = G_SUPPLICANT_SECURITY_PSK;
+ ap->pairwise_cipher = G_SUPPLICANT_PAIRWISE_CCMP;
+ ap->group_cipher = G_SUPPLICANT_GROUP_CCMP;
ap->passphrase = passphrase;
}