From 4840b45a26d578d8454ad13709a5f713c547c9e8 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 19 Nov 2022 17:19:49 +0200 Subject: [PATCH] Fix empty pmksa_cache_get() The addition of the "spa" argument was missed in the empty inline function. Fixes: 9ff778fa4bd6 ("Check for own address (SPA) match when finding PMKSA entries") Signed-off-by: Jouni Malinen --- src/rsn_supp/pmksa_cache.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rsn_supp/pmksa_cache.h b/src/rsn_supp/pmksa_cache.h index b34532c0a..bd94a9bee 100644 --- a/src/rsn_supp/pmksa_cache.h +++ b/src/rsn_supp/pmksa_cache.h @@ -109,8 +109,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, - const void *network_ctx, int akmp) +pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *spa, + const u8 *pmkid, const void *network_ctx, int akmp) { return NULL; }