]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix pmksa_cache_get() arguments in !IEEE80211_X_EAPOL builds
authorAntonio Quartulli <ordex@autistici.org>
Sat, 11 Feb 2012 08:45:24 +0000 (10:45 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 11 Feb 2012 08:45:24 +0000 (10:45 +0200)
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>

src/rsn_supp/pmksa_cache.h

index e48d59639017103dbcab09dcd4b89111b6f32988..930e06ef1f8dbaeb645543d8d35fe9391dc5f59e 100644 (file)
@@ -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;
 }