From: Jouni Malinen Date: Fri, 7 Jun 2013 17:01:10 +0000 (+0300) Subject: Fix build without WPA2 or EAP X-Git-Tag: aosp-kk-from-upstream~197 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c33d5eb06382f4e44d83048449ea3823f8a5229b;p=thirdparty%2Fhostap.git 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 --- 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) { }