Browse Source

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 <jouni@qca.qualcomm.com>
Jouni Malinen 12 years ago
parent
commit
c33d5eb063
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/rsn_supp/pmksa_cache.h

+ 2 - 1
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)
 {
 }