aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-01-13 16:02:20 (GMT)
committerJouni Malinen <j@w1.fi>2013-01-13 16:02:20 (GMT)
commit62769a88db69030aed82979e43af09c8d6916756 (patch)
tree4f8411b774ba23bbccd2a253cedaea93ecf99aa0 /wpa_supplicant/ap.c
parentcf830c1c54cb505045e9227bc6906effcde07e58 (diff)
downloadhostap-62769a88db69030aed82979e43af09c8d6916756.zip
hostap-62769a88db69030aed82979e43af09c8d6916756.tar.gz
hostap-62769a88db69030aed82979e43af09c8d6916756.tar.bz2
Move cipher to enum wpa_cipher conversion into wpa_common.c
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/ap.c')
-rw-r--r--wpa_supplicant/ap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
index ee53c37..85ee6cb 100644
--- a/wpa_supplicant/ap.c
+++ b/wpa_supplicant/ap.c
@@ -460,7 +460,8 @@ int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
"cipher.");
return -1;
}
- params.pairwise_suite = cipher_suite2driver(wpa_s->pairwise_cipher);
+ params.pairwise_suite =
+ wpa_cipher_to_suite_driver(wpa_s->pairwise_cipher);
params.group_suite = params.pairwise_suite;
#ifdef CONFIG_P2P