[PATCH] mac80211: change back to return true by default of ieee80211_chandef_he_6ghz_oper

Wen Gong wgong at codeaurora.org
Mon Nov 23 03:45:52 EST 2020


The default value is true returned by ieee80211_chandef_he_6ghz_oper,
change it to true same with before.

Fixes: 1d00ce807efa ("mac80211: support S1G association")

Signed-off-by: Wen Gong <wgong at codeaurora.org>
---
 net/mac80211/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index 49342060490f..94e624e9439b 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -3455,7 +3455,7 @@ bool ieee80211_chandef_he_6ghz_oper(struct ieee80211_sub_if_data *sdata,
 
 	*chandef = he_chandef;
 
-	return false;
+	return true;
 }
 
 bool ieee80211_chandef_s1g_oper(const struct ieee80211_s1g_oper_ie *oper,
-- 
2.23.0




More information about the ath10k mailing list