diff options
author | David S. Miller <davem@davemloft.net> | 2011-11-28 19:21:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-28 19:21:10 -0500 |
commit | 8317e2047ef7d70dd76bf1d571fecaa8d4deb06f (patch) | |
tree | c400a600a4eb00da224b4e59e76396655e853d07 /net/wireless/sme.c | |
parent | 2c55a3d08ade44a778c182c220a7907ec65d5fb8 (diff) | |
parent | 39338b56382ac640614851a80e0bd71994cc664d (diff) | |
download | linux-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.c | 7 |
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, ¶ms->crypto); + false, ¶ms->crypto, + params->flags, ¶ms->ht_capa, + ¶ms->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; |