diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-02-21 17:36:01 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-03-06 16:35:47 +0100 |
commit | ee2aca343c9aa64d277a75a5df043299dc84cfd9 (patch) | |
tree | 697ac55d4d0119e97ead3a530ebac8cf37922f78 /net/wireless/sme.c | |
parent | wireless: remove unused VHT MCS defines (diff) | |
download | linux-ee2aca343c9aa64d277a75a5df043299dc84cfd9.tar.xz linux-ee2aca343c9aa64d277a75a5df043299dc84cfd9.zip |
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.c | 4 |
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, ¶ms->crypto, params->flags, ¶ms->ht_capa, - ¶ms->ht_capa_mask); + ¶ms->ht_capa_mask, + ¶ms->vht_capa, + ¶ms->vht_capa_mask); if (err) __cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, NULL, 0, |