summaryrefslogtreecommitdiffstats
path: root/net/wireless/sme.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-11-28 19:21:10 -0500
committerDavid S. Miller <davem@davemloft.net>2011-11-28 19:21:10 -0500
commit8317e2047ef7d70dd76bf1d571fecaa8d4deb06f (patch)
treec400a600a4eb00da224b4e59e76396655e853d07 /net/wireless/sme.c
parent2c55a3d08ade44a778c182c220a7907ec65d5fb8 (diff)
parent39338b56382ac640614851a80e0bd71994cc664d (diff)
downloadlinux-8317e2047ef7d70dd76bf1d571fecaa8d4deb06f.tar.bz2
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next
Diffstat (limited to 'net/wireless/sme.c')
-rw-r--r--net/wireless/sme.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/wireless/sme.c b/net/wireless/sme.c
index 0acfdc9beacf..f0c900ce2fb9 100644
--- a/net/wireless/sme.c
+++ b/net/wireless/sme.c
@@ -190,7 +190,9 @@ static int cfg80211_conn_do_work(struct wireless_dev *wdev)
prev_bssid,
params->ssid, params->ssid_len,
params->ie, params->ie_len,
- false, &params->crypto);
+ false, &params->crypto,
+ params->flags, &params->ht_capa,
+ &params->ht_capa_mask);
if (err)
__cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid,
NULL, 0,
@@ -774,6 +776,9 @@ int __cfg80211_connect(struct cfg80211_registered_device *rdev,
wdev->connect_keys = NULL;
}
+ cfg80211_oper_and_ht_capa(&connect->ht_capa_mask,
+ rdev->wiphy.ht_capa_mod_mask);
+
if (connkeys && connkeys->def >= 0) {
int idx;
u32 cipher;