From: Jouni Malinen Date: Sat, 19 Nov 2022 15:19:49 +0000 (+0200) Subject: Fix empty pmksa_cache_get() X-Git-Tag: hostap_2_11~1527 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4840b45a26d578d8454ad13709a5f713c547c9e8;p=thirdparty%2Fhostap.git 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 --- 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; }