projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75d627d
)
mac80211: enable VHT for mesh channel processing
author
Simon Wunderlich
<sw@simonwunderlich.de>
Tue, 23 May 2017 15:00:43 +0000
(17:00 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Wed, 24 May 2017 06:58:55 +0000
(08:58 +0200)
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/mesh.c
b/net/mac80211/mesh.c
index d6cc0080866d06e6313e82b70b8812710733d6bc..3d6b3d674ca33edb62274245752db65b3b9d648e 100644
(file)
--- a/
net/mac80211/mesh.c
+++ b/
net/mac80211/mesh.c
@@
-989,12
+989,14
@@
ieee80211_mesh_process_chnswitch(struct ieee80211_sub_if_data *sdata,
if (!sband)
return false;
- sta_flags =
IEEE80211_STA_DISABLE_VHT
;
+ sta_flags =
0
;
switch (sdata->vif.bss_conf.chandef.width) {
case NL80211_CHAN_WIDTH_20_NOHT:
sta_flags |= IEEE80211_STA_DISABLE_HT;
case NL80211_CHAN_WIDTH_20:
sta_flags |= IEEE80211_STA_DISABLE_40MHZ;
+ case NL80211_CHAN_WIDTH_40:
+ sta_flags |= IEEE80211_STA_DISABLE_VHT;
break;
default:
break;