[PATCH] RSN: Fix pmksa_cache_flush prototype mismatch in non-IEEE8021X_EAPOL case
Nick Hainke
vincent at systemli.org
Fri Mar 20 03:27:08 PDT 2026
Fix compilation error caused by conflicting declarations of
pmksa_cache_flush() when IEEE8021X_EAPOL is not enabled or
CONFIG_NO_WPA is set. The function definition in pmksa_cache.c
was missing the addr parameter present in the header declaration
for this build configuration.
Align the implementation with the header by adding the missing
parameter.
Fixes: e6dbaa673f39 ("SAE: Limit PMKSA flushing on failure to the current BSS")
Signed-off-by: Nick Hainke <vincent at systemli.org>
---
src/rsn_supp/pmksa_cache.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/rsn_supp/pmksa_cache.c b/src/rsn_supp/pmksa_cache.c
index 52254d9ce..9506dfdf1 100644
--- a/src/rsn_supp/pmksa_cache.c
+++ b/src/rsn_supp/pmksa_cache.c
@@ -955,7 +955,8 @@ int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, const u8 *bssid,
void pmksa_cache_flush(struct rsn_pmksa_cache *pmksa, void *network_ctx,
- const u8 *pmk, size_t pmk_len, bool external_only)
+ const u8 *pmk, size_t pmk_len, bool external_only,
+ const u8 *addr)
{
}
--
2.53.0
More information about the Hostap
mailing list