diff options
| author | Simon Wunderlich <sw@simonwunderlich.de> | 2017-05-23 11:00:43 -0400 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2017-05-24 02:58:55 -0400 |
| commit | 71ec289e62f9cf9face6acfab65da02ef6bc3478 (patch) | |
| tree | d7fd10a1bcd25520b1ad5707dec1eff31f995c55 /net/mac80211/mesh.c | |
| parent | 75d627d53e015027d0f85c928673d368807243cc (diff) | |
mac80211: enable VHT for mesh channel processing
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh.c')
| -rw-r--r-- | net/mac80211/mesh.c | 4 |
1 files changed, 3 insertions, 1 deletions
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, | |||
| 989 | if (!sband) | 989 | if (!sband) |
| 990 | return false; | 990 | return false; |
| 991 | 991 | ||
| 992 | sta_flags = IEEE80211_STA_DISABLE_VHT; | 992 | sta_flags = 0; |
| 993 | switch (sdata->vif.bss_conf.chandef.width) { | 993 | switch (sdata->vif.bss_conf.chandef.width) { |
| 994 | case NL80211_CHAN_WIDTH_20_NOHT: | 994 | case NL80211_CHAN_WIDTH_20_NOHT: |
| 995 | sta_flags |= IEEE80211_STA_DISABLE_HT; | 995 | sta_flags |= IEEE80211_STA_DISABLE_HT; |
| 996 | case NL80211_CHAN_WIDTH_20: | 996 | case NL80211_CHAN_WIDTH_20: |
| 997 | sta_flags |= IEEE80211_STA_DISABLE_40MHZ; | 997 | sta_flags |= IEEE80211_STA_DISABLE_40MHZ; |
| 998 | case NL80211_CHAN_WIDTH_40: | ||
| 999 | sta_flags |= IEEE80211_STA_DISABLE_VHT; | ||
| 998 | break; | 1000 | break; |
| 999 | default: | 1001 | default: |
| 1000 | break; | 1002 | break; |
