From 779bdfff2ace6ac14c1d472a1522481d7491f243 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Thu, 3 Feb 2011 00:25:33 +0100 Subject: wifi: Set AP ciphers to CCMP only For security reasons, only AES is supported. --- plugins/wifi.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') diff --git a/plugins/wifi.c b/plugins/wifi.c index 23a22209..efaceff7 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; } -- cgit v1.2.3