aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsn_supp/pmksa_cache.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-01-13 18:22:42 (GMT)
committerJouni Malinen <j@w1.fi>2009-01-13 18:22:42 (GMT)
commit540264a72138bce8688143ae129f98aba718010b (patch)
treebdb5726db9606595e7787709f11ab8528e3c2f1b /src/rsn_supp/pmksa_cache.h
parentf5a51b58d4a78821cf28b99b54dc7addd0da3477 (diff)
downloadhostap-540264a72138bce8688143ae129f98aba718010b.zip
hostap-540264a72138bce8688143ae129f98aba718010b.tar.gz
hostap-540264a72138bce8688143ae129f98aba718010b.tar.bz2
Removed wpa_sm dereference from pmksa_cache_list()
Diffstat (limited to 'src/rsn_supp/pmksa_cache.h')
-rw-r--r--src/rsn_supp/pmksa_cache.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rsn_supp/pmksa_cache.h b/src/rsn_supp/pmksa_cache.h
index a329b25..a1447e5 100644
--- a/src/rsn_supp/pmksa_cache.h
+++ b/src/rsn_supp/pmksa_cache.h
@@ -53,7 +53,7 @@ pmksa_cache_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry,
void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa);
struct rsn_pmksa_cache_entry * pmksa_cache_get(struct rsn_pmksa_cache *pmksa,
const u8 *aa, const u8 *pmkid);
-int pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len);
+int pmksa_cache_list(struct rsn_pmksa_cache *pmksa, char *buf, size_t len);
struct rsn_pmksa_cache_entry *
pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len,
const u8 *aa, const u8 *spa, void *network_ctx, int akmp);
@@ -93,7 +93,8 @@ pmksa_cache_get_current(struct wpa_sm *sm)
return NULL;
}
-static inline int pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len)
+static inline int pmksa_cache_list(struct rsn_pmksa_cache *pmksa, char *buf,
+ size_t len)
{
return -1;
}