mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
6 GHz: Do not check for HT capability on 6 GHz channels
HT capability check is not required when starting AP on 6 GHz band as only HE operation mode is allowed in the 6 GHz band. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
4a667b01e6
commit
ee0030e814
@ -670,6 +670,9 @@ int hostapd_check_ht_capab(struct hostapd_iface *iface)
|
||||
{
|
||||
#ifdef CONFIG_IEEE80211N
|
||||
int ret;
|
||||
|
||||
if (is_6ghz_freq(iface->freq))
|
||||
return 0;
|
||||
if (!iface->conf->ieee80211n)
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user