All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mac80211: change back to return true by default of ieee80211_chandef_he_6ghz_oper
@ 2020-11-23  8:45 ` Wen Gong
  0 siblings, 0 replies; 2+ messages in thread
From: Wen Gong @ 2020-11-23  8:45 UTC (permalink / raw)
  To: ath10k, johannes; +Cc: linux-wireless, wgong

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] mac80211: change back to return true by default of ieee80211_chandef_he_6ghz_oper
@ 2020-11-23  8:45 ` Wen Gong
  0 siblings, 0 replies; 2+ messages in thread
From: Wen Gong @ 2020-11-23  8:45 UTC (permalink / raw)
  To: ath10k, johannes; +Cc: linux-wireless, wgong

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


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-23  8:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-23  8:45 [PATCH] mac80211: change back to return true by default of ieee80211_chandef_he_6ghz_oper Wen Gong
2020-11-23  8:45 ` Wen Gong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.