summaryrefslogtreecommitdiffstats
path: root/net/wireless/sme.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-02-21 17:36:01 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-03-06 16:35:47 +0100
commitee2aca343c9aa64d277a75a5df043299dc84cfd9 (patch)
tree697ac55d4d0119e97ead3a530ebac8cf37922f78 /net/wireless/sme.c
parentc8bb93f5f5d478a01db66127844d1d2dd30abec7 (diff)
downloadlinux-ee2aca343c9aa64d277a75a5df043299dc84cfd9.tar.bz2
cfg80211: add ability to override VHT capabilities
For testing it's sometimes useful to be able to override certain VHT capability advertisement, add the ability to do that in cfg80211. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/sme.c')
-rw-r--r--net/wireless/sme.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/wireless/sme.c b/net/wireless/sme.c
index f432bd3755b1..7da118c034f0 100644
--- a/net/wireless/sme.c
+++ b/net/wireless/sme.c
@@ -195,7 +195,9 @@ static int cfg80211_conn_do_work(struct wireless_dev *wdev)
params->mfp != NL80211_MFP_NO,
&params->crypto,
params->flags, &params->ht_capa,
- &params->ht_capa_mask);
+ &params->ht_capa_mask,
+ &params->vht_capa,
+ &params->vht_capa_mask);
if (err)
__cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid,
NULL, 0,