diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2011-02-03 00:39:03 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-02-03 00:39:03 +0100 |
commit | 4c168e988c9540e65efbe665710ea8133a104906 (patch) | |
tree | 80954e05e424bc5bcce7650d220e395e7d101424 /plugins | |
parent | 609ea53e487a55298d7a168e616ab9bb91214084 (diff) | |
download | connman-4c168e988c9540e65efbe665710ea8133a104906.tar.gz connman-4c168e988c9540e65efbe665710ea8133a104906.tar.bz2 connman-4c168e988c9540e65efbe665710ea8133a104906.zip |
wifi: Use WPA2 only when in AP mode
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/wifi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c index efaceff7..ec0846d4 100644 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -894,6 +894,7 @@ static GSupplicantSSID *ssid_ap_init(const char *ssid, const char *passphrase) ap->passphrase = NULL; } else { ap->security = G_SUPPLICANT_SECURITY_PSK; + ap->protocol = G_SUPPLICANT_PROTO_RSN; ap->pairwise_cipher = G_SUPPLICANT_PAIRWISE_CCMP; ap->group_cipher = G_SUPPLICANT_GROUP_CCMP; ap->passphrase = passphrase; |