]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix build without WPA2 or EAP
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 7 Jun 2013 17:01:10 +0000 (20:01 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 7 Jun 2013 17:01:10 +0000 (20:01 +0300)
Commit 4033935dd9098938838d6d7934ceb65f92a1fa3c updated
pmksa_cache_flush() function arguments, but forgot to update the wrapper
function for cases where WPA2 or EAP has been disabled in the build.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

src/rsn_supp/pmksa_cache.h

index d5aa229a4b809943d627c0d190d04244c20b776f..6d3141beddece319f1a0f2b26711f5c3d40e64fa 100644 (file)
@@ -122,7 +122,8 @@ static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
 }
 
 static inline void pmksa_cache_flush(struct rsn_pmksa_cache *pmksa,
-                                    void *network_ctx)
+                                    void *network_ctx,
+                                    const u8 *pmk, size_t pmk_len)
 {
 }