aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/wpa.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2008-12-22 12:05:53 (GMT)
committerJouni Malinen <j@w1.fi>2008-12-22 12:05:53 (GMT)
commitff36ff00b8f5a3a8c0f06a5155476af349cb2c4d (patch)
treeb476522f6e308a180479d205ff6e83097d33664e /hostapd/wpa.c
parentf130ba9b4a50396bc166c26b4e5fb0905996fd18 (diff)
downloadhostap-06-ff36ff00b8f5a3a8c0f06a5155476af349cb2c4d.zip
hostap-06-ff36ff00b8f5a3a8c0f06a5155476af349cb2c4d.tar.gz
hostap-06-ff36ff00b8f5a3a8c0f06a5155476af349cb2c4d.tar.bz2
Reject association if HT STA tries to use TKIP as pairwise cipher
Diffstat (limited to 'hostapd/wpa.c')
-rw-r--r--hostapd/wpa.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hostapd/wpa.c b/hostapd/wpa.c
index 0d173c0..e995562 100644
--- a/hostapd/wpa.c
+++ b/hostapd/wpa.c
@@ -2305,6 +2305,12 @@ int wpa_auth_pairwise_set(struct wpa_state_machine *sm)
}
+int wpa_auth_get_pairwise(struct wpa_state_machine *sm)
+{
+ return sm->pairwise;
+}
+
+
int wpa_auth_sta_key_mgmt(struct wpa_state_machine *sm)
{
if (sm == NULL)