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:
Ankita Bajaj 2019-11-27 12:25:27 +05:30 committed by Jouni Malinen
parent 4a667b01e6
commit ee0030e814

View File

@ -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;