From: Samuel Ortiz Date: Wed, 2 Feb 2011 23:25:33 +0000 (+0100) Subject: wifi: Set AP ciphers to CCMP only X-Git-Tag: accepted/2.0alpha-wayland/20121110.002834~1780 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=779bdfff2ace6ac14c1d472a1522481d7491f243;p=profile%2Fivi%2Fconnman.git wifi: Set AP ciphers to CCMP only For security reasons, only AES is supported. --- diff --git a/plugins/wifi.c b/plugins/wifi.c index 23a2220..efaceff 100644 --- 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; }