diff options
author | John W. Linville <linville@tuxdriver.com> | 2014-05-15 10:24:28 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-05-15 10:24:28 -0400 |
commit | 025a58fd9d5785d63c398e96ac543db2639c7ddc (patch) | |
tree | f15063ac321fb1d13e35bc75c70e7cee81aa3119 /net/mac80211/vht.c | |
parent | e84d2f8d2ae33c8215429824e1ecf24cbca9645e (diff) | |
parent | faf1dc64e345ac4de5c4429df6ed492255ae2248 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem
Diffstat (limited to 'net/mac80211/vht.c')
-rw-r--r-- | net/mac80211/vht.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/net/mac80211/vht.c b/net/mac80211/vht.c index e9e36a25616..9265adfdabf 100644 --- a/net/mac80211/vht.c +++ b/net/mac80211/vht.c @@ -129,9 +129,12 @@ ieee80211_vht_cap_ie_to_sta_vht_cap(struct ieee80211_sub_if_data *sdata, if (!vht_cap_ie || !sband->vht_cap.vht_supported) return; - /* A VHT STA must support 40 MHz */ - if (!(sta->sta.ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40)) - return; + /* + * A VHT STA must support 40 MHz, but if we verify that here + * then we break a few things - some APs (e.g. Netgear R6300v2 + * and others based on the BCM4360 chipset) will unset this + * capability bit when operating in 20 MHz. + */ vht_cap->vht_supported = true; |