From c33d5eb06382f4e44d83048449ea3823f8a5229b Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 7 Jun 2013 20:01:10 +0300 Subject: [PATCH] Fix build without WPA2 or EAP Commit 4033935dd9098938838d6d7934ceb65f92a1fa3c updated pmksa_cache_flush() function arguments, but forgot to update the wrapper function for cases where WPA2 or EAP has been disabled in the build. Signed-hostap: Jouni Malinen --- src/rsn_supp/pmksa_cache.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rsn_supp/pmksa_cache.h b/src/rsn_supp/pmksa_cache.h index d5aa229a4..6d3141bed 100644 --- a/src/rsn_supp/pmksa_cache.h +++ b/src/rsn_supp/pmksa_cache.h @@ -122,7 +122,8 @@ static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, } static inline void pmksa_cache_flush(struct rsn_pmksa_cache *pmksa, - void *network_ctx) + void *network_ctx, + const u8 *pmk, size_t pmk_len) { }