summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/wifi.c2
1 files changed, 2 insertions, 0 deletions
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;
}