From ee0030e814088adee3b72a2dbf7bc30014eff06c Mon Sep 17 00:00:00 2001 From: Ankita Bajaj Date: Wed, 27 Nov 2019 12:25:27 +0530 Subject: [PATCH] 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 --- src/ap/hw_features.c | 3 +++ 1 file changed, 3 insertions(+) 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;