From: Simon Wunderlich Date: Tue, 23 May 2017 15:00:43 +0000 (+0200) Subject: mac80211: enable VHT for mesh channel processing X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=71ec289e62f9cf9face6acfab65da02ef6bc3478;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mac80211: enable VHT for mesh channel processing Signed-off-by: Simon Wunderlich Signed-off-by: Johannes Berg --- diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c index d6cc0080866d..3d6b3d674ca3 100644 --- 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;