Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2249)

Unified Diff: wpa_supplicant/sme.c

Issue 5840004: nl80211: Set cipher suites when using user space SME (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/hostap.git@0.9.130.B
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/drivers/driver_nl80211.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: wpa_supplicant/sme.c
diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index eb0ab0195be4db2314a37525e22000b35c3148d0..769d731baba215d77c0247c8eaaff8e7dde0fbee 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -332,6 +332,8 @@ void sme_associate(struct wpa_supplicant *wpa_s, enum wpas_mode mode,
params.wpa_ie = wpa_s->sme.assoc_req_ie_len ?
wpa_s->sme.assoc_req_ie : NULL;
params.wpa_ie_len = wpa_s->sme.assoc_req_ie_len;
+ params.pairwise_suite = cipher_suite2driver(wpa_s->pairwise_cipher);
+ params.group_suite = cipher_suite2driver(wpa_s->group_cipher);
#ifdef CONFIG_IEEE80211R
if (auth_type == WLAN_AUTH_FT && wpa_s->sme.ft_ies) {
params.wpa_ie = wpa_s->sme.ft_ies;
« no previous file with comments | « src/drivers/driver_nl80211.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698