]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix compilation with PMKSA caching support disabled
authorJouni Malinen <j@w1.fi>
Sun, 3 Feb 2013 14:23:13 +0000 (16:23 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 3 Feb 2013 14:23:13 +0000 (16:23 +0200)
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>

src/rsn_supp/pmksa_cache.h

index f318c52fa5bcf15a02475837a49a5abff0db2a63..6f3dfb3196ce3671e5f9424848f1f5b0cad97be7 100644 (file)
@@ -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;