aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsn_supp/pmksa_cache.h
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2012-02-11 08:45:24 (GMT)
committerJouni Malinen <j@w1.fi>2012-02-11 08:45:24 (GMT)
commit78debc752922cbe56eb7579b0abe004bb0488949 (patch)
tree7609711b3cc6c79927dc8b7405265e377ecc3942 /src/rsn_supp/pmksa_cache.h
parent59acfe87aad300ae74e0233d62fa830179d00884 (diff)
downloadhostap-78debc752922cbe56eb7579b0abe004bb0488949.zip
hostap-78debc752922cbe56eb7579b0abe004bb0488949.tar.gz
hostap-78debc752922cbe56eb7579b0abe004bb0488949.tar.bz2
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>
Diffstat (limited to 'src/rsn_supp/pmksa_cache.h')
-rw-r--r--src/rsn_supp/pmksa_cache.h3
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;
}