From: Jouni Malinen Date: Wed, 27 Mar 2019 02:02:19 +0000 (+0200) Subject: Add AKM info in the debug message noting PMKSA caching entry addition X-Git-Tag: hostap_2_8~155 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=253ce212eeb65ddc7c754f3c11704bb3f0b14139;p=thirdparty%2Fhostap.git Add AKM info in the debug message noting PMKSA caching entry addition This is useful for debugging issues where an expected PMKSA cache entry is not found. Signed-off-by: Jouni Malinen --- diff --git a/src/rsn_supp/pmksa_cache.c b/src/rsn_supp/pmksa_cache.c index fdd522087..d720f7b81 100644 --- a/src/rsn_supp/pmksa_cache.c +++ b/src/rsn_supp/pmksa_cache.c @@ -263,7 +263,8 @@ pmksa_cache_add_entry(struct rsn_pmksa_cache *pmksa, } pmksa->pmksa_count++; wpa_printf(MSG_DEBUG, "RSN: Added PMKSA cache entry for " MACSTR - " network_ctx=%p", MAC2STR(entry->aa), entry->network_ctx); + " network_ctx=%p akmp=0x%x", MAC2STR(entry->aa), + entry->network_ctx, entry->akmp); wpa_sm_add_pmkid(pmksa->sm, entry->network_ctx, entry->aa, entry->pmkid, entry->fils_cache_id_set ? entry->fils_cache_id : NULL, entry->pmk, entry->pmk_len);