aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsn_supp/pmksa_cache.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-02-03 14:23:13 (GMT)
committerJouni Malinen <j@w1.fi>2013-02-03 14:23:13 (GMT)
commit3e72dace291e08036c86f3143b5b7e0b2de23003 (patch)
tree2f9ba8e2d3d08ca5b1dc0303415b932c28ff4fc1 /src/rsn_supp/pmksa_cache.h
parent9ebce9c54646fa6a4bd565180a2e3629ae8b98cc (diff)
downloadhostap-3e72dace291e08036c86f3143b5b7e0b2de23003.zip
hostap-3e72dace291e08036c86f3143b5b7e0b2de23003.tar.gz
hostap-3e72dace291e08036c86f3143b5b7e0b2de23003.tar.bz2
Fix compilation with PMKSA caching support disabled
Commit 6aaac006af7fd39d618c6546939bed9f0f0cea37 modified the pmksa_cache_init() prototype, but forgot to update the empty wrapper function which is used when PMKSA caching is not included in the build. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/rsn_supp/pmksa_cache.h')
-rw-r--r--src/rsn_supp/pmksa_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rsn_supp/pmksa_cache.h b/src/rsn_supp/pmksa_cache.h
index f318c52..6f3dfb3 100644
--- a/src/rsn_supp/pmksa_cache.h
+++ b/src/rsn_supp/pmksa_cache.h
@@ -72,7 +72,7 @@ void pmksa_cache_flush(struct rsn_pmksa_cache *pmksa, void *network_ctx);
static inline struct rsn_pmksa_cache *
pmksa_cache_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry,
- void *ctx, int reason),
+ void *ctx, enum pmksa_free_reason reason),
void *ctx, struct wpa_sm *sm)
{
return (void *) -1;