aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/pmksa_cache.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2005-12-17 19:01:16 (GMT)
committerJouni Malinen <j@w1.fi>2005-12-17 19:01:16 (GMT)
commit3a01d1d864e45310a7eada1d0888c1c1f9e43d52 (patch)
tree5f5edc23445ec6a20ed42248c137782efc5cab1d /hostapd/pmksa_cache.c
parent28b5e88fecb3626886d68b5e4c474fc3d6477255 (diff)
downloadhostap-history-3a01d1d864e45310a7eada1d0888c1c1f9e43d52.zip
hostap-history-3a01d1d864e45310a7eada1d0888c1c1f9e43d52.tar.gz
hostap-history-3a01d1d864e45310a7eada1d0888c1c1f9e43d52.tar.bz2
Moved pairwise, wpa, and wpa_key_mgmt variables from struct sta_info
into struct wpa_state_machine.
Diffstat (limited to 'hostapd/pmksa_cache.c')
-rw-r--r--hostapd/pmksa_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostapd/pmksa_cache.c b/hostapd/pmksa_cache.c
index 12a19c0..65fbfb0 100644
--- a/hostapd/pmksa_cache.c
+++ b/hostapd/pmksa_cache.c
@@ -217,7 +217,7 @@ pmksa_cache_add(struct rsn_pmksa_cache *pmksa, struct sta_info *sta,
struct rsn_pmksa_cache_entry *entry, *pos, *prev;
struct os_time now;
- if (sta->wpa != WPA_VERSION_WPA2)
+ if (wpa_auth_sta_wpa_version(sta->wpa_sm) != 2)
return NULL;
entry = malloc(sizeof(*entry));