]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix wpa_supplicant build with CONFIG_NO_WPA
authorDaniel Golle <daniel@makrotopia.org>
Fri, 13 Apr 2018 04:14:21 +0000 (06:14 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 13 Apr 2018 08:43:57 +0000 (11:43 +0300)
pmksa_cache stubs have not been updated when function prototypes have
been modified in commit 852b2f2738 (SAE: Only allow SAE AKMP for PMKSA
caching attempts). Add new function parameter int akmp to stubs of
pmksa_cache_get() and pmksa_cache_set_current() as well to fix build.

Fixes: 852b2f2738 ("SAE: Only allow SAE AKMP for PMKSA caching attempts")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
src/rsn_supp/pmksa_cache.h

index 626761dea32dc332daa2a75b9ca66e0d562a8098..6c49fa9248fb3e64af87fe07c0b1ed1ab58709a9 100644 (file)
@@ -101,7 +101,7 @@ 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,
-               const void *network_ctx)
+               const void *network_ctx, int akmp)
 {
        return NULL;
 }
@@ -148,7 +148,8 @@ static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
                                          const u8 *bssid,
                                          void *network_ctx,
                                          int try_opportunistic,
-                                         const u8 *fils_cache_id)
+                                         const u8 *fils_cache_id,
+                                         int akmp)
 {
        return -1;
 }