aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.c
diff options
context:
space:
mode:
authorAhmad Masri <qca_amasri@qca.qualcomm.com>2014-10-26 12:04:29 (GMT)
committerJouni Malinen <j@w1.fi>2014-10-27 15:15:09 (GMT)
commitd77419d2348a9a08485dc00a09aa42dad21d6580 (patch)
treeb91fd84d33badf9c86182f62f18fcadb81287b45 /wpa_supplicant/ap.c
parent72a8e30b964d054ed54d2f8b092450f4b7418333 (diff)
downloadhostap-d77419d2348a9a08485dc00a09aa42dad21d6580.zip
hostap-d77419d2348a9a08485dc00a09aa42dad21d6580.tar.gz
hostap-d77419d2348a9a08485dc00a09aa42dad21d6580.tar.bz2
P2P: Support GCMP as part of 60 GHz support
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/ap.c')
-rw-r--r--wpa_supplicant/ap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
index ec6e868..02ea609 100644
--- a/wpa_supplicant/ap.c
+++ b/wpa_supplicant/ap.c
@@ -317,7 +317,8 @@ static int wpa_supplicant_conf_ap(struct wpa_supplicant *wpa_s,
bss->ssid.security_policy != SECURITY_PLAINTEXT)
goto no_wps;
if (bss->ssid.security_policy == SECURITY_WPA_PSK &&
- (!(bss->rsn_pairwise & WPA_CIPHER_CCMP) || !(bss->wpa & 2)))
+ (!(bss->rsn_pairwise & (WPA_CIPHER_CCMP | WPA_CIPHER_GCMP)) ||
+ !(bss->wpa & 2)))
goto no_wps; /* WPS2 does not allow WPA/TKIP-only
* configuration */
bss->eap_server = 1;