projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbe2ba0
)
mac80211: fix return value of ieee80211_chandef_he_6ghz_oper
author
Wen Gong
<wgong@codeaurora.org>
Mon, 23 Nov 2020 08:45:52 +0000
(16:45 +0800)
committer
Johannes Berg
<johannes.berg@intel.com>
Fri, 4 Dec 2020 11:35:58 +0000
(12:35 +0100)
ieee80211_chandef_he_6ghz_oper() needs to return true if it
determined a value 6 GHz chandef, fix that.
Fixes: 1d00ce807efa ("mac80211: support S1G association")
Signed-off-by: Wen Gong <wgong@codeaurora.org>
Link:
https://lore.kernel.org/r/1606121152-3452-1-git-send-email-wgong@codeaurora.org
[rewrite commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c
patch
|
blob
|
history
diff --git
a/net/mac80211/util.c
b/net/mac80211/util.c
index 49342060490f561e213d0274172c4e009e374309..94e624e9439b76103d92570c414efb103a9c1265 100644
(file)
--- 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
fals
e;
+ return
tru
e;
}
bool ieee80211_chandef_s1g_oper(const struct ieee80211_s1g_oper_ie *oper,