]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
VHT: Do not allow use of TKIP with VHT
authorMahesh Palivela <maheshp@posedge.com>
Fri, 10 Aug 2012 16:50:37 +0000 (19:50 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 10 Aug 2012 16:50:37 +0000 (19:50 +0300)
Signed-hostap: Mahesh Palivela <maheshp@posedge.com>

src/ap/ieee802_11.c

index fcbd34fca19a10f2cce3dee80ea9f40598cd299c..8a3da757a640fc0a349df4251096b0cda5bd884c 100644 (file)
@@ -778,7 +778,7 @@ static u16 check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta,
 #endif /* CONFIG_IEEE80211R */
 
 #ifdef CONFIG_IEEE80211N
-               if ((sta->flags & WLAN_STA_HT) &&
+               if ((sta->flags & (WLAN_STA_HT | WLAN_STA_VHT)) ||
                    wpa_auth_get_pairwise(sta->wpa_sm) == WPA_CIPHER_TKIP) {
                        hostapd_logger(hapd, sta->addr,
                                       HOSTAPD_MODULE_IEEE80211,