Parcourir la source

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>
Jouni Malinen il y a 12 ans
Parent
commit
3e72dace29
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/rsn_supp/pmksa_cache.h

+ 1 - 1
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 *
 static inline struct rsn_pmksa_cache *
 pmksa_cache_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry,
 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)
 		 void *ctx, struct wpa_sm *sm)
 {
 {
 	return (void *) -1;
 	return (void *) -1;