Browse Source

Fix pmksa_cache_get() arguments in !IEEE80211_X_EAPOL builds

In case of !defined(IEEE8021X_EAPOL) the definition of the stub
pmksa_cache_get() in rsn_supp/pmksa_cache.h is not correct. This patch
adds the missing argument to the function definition to fix a
regression from commit 96efeeb66bd8762ab9fccd9fe2b5c3e276ff220c.

Signed-hostap: Antonio Quartulli <ordex@autistici.org>
Antonio Quartulli 13 years ago
parent
commit
78debc7529
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

@@ -83,7 +83,8 @@ static inline void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa)
 }
 
 static inline struct rsn_pmksa_cache_entry *
-pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *pmkid)
+pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *pmkid,
+		const void *network_ctx)
 {
 	return NULL;
 }