From: Jouni Malinen Date: Sun, 3 Feb 2013 14:23:13 +0000 (+0200) Subject: Fix compilation with PMKSA caching support disabled X-Git-Tag: aosp-kk-from-upstream~615 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e72dace291e08036c86f3143b5b7e0b2de23003;p=thirdparty%2Fhostap.git 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 --- diff --git a/src/rsn_supp/pmksa_cache.h b/src/rsn_supp/pmksa_cache.h index f318c52fa..6f3dfb319 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;