From: Ankita Bajaj Date: Wed, 27 Nov 2019 06:55:27 +0000 (+0530) Subject: 6 GHz: Do not check for HT capability on 6 GHz channels X-Git-Tag: hostap_2_10~2189 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee0030e814088adee3b72a2dbf7bc30014eff06c;p=thirdparty%2Fhostap.git 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 --- diff --git a/src/ap/hw_features.c b/src/ap/hw_features.c index 2fefaf842..8b1ed7083 100644 --- a/src/ap/hw_features.c +++ b/src/ap/hw_features.c @@ -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;