[PATCH] rsn_supp: fix pmksa_cache_get() arguments

Antonio Quartulli ordex at autistici.org
Wed Feb 8 16:10:35 EST 2012


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.

Signed-hostap: Antonio Quartulli <ordex at autistici.org>
---
 src/rsn_supp/pmksa_cache.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/rsn_supp/pmksa_cache.h b/src/rsn_supp/pmksa_cache.h
index e48d596..930e06e 100644
--- a/src/rsn_supp/pmksa_cache.h
+++ b/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;
 }
-- 
1.7.3.4



More information about the HostAP mailing list