]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add AKM info in the debug message noting PMKSA caching entry addition
authorJouni Malinen <jouni@codeaurora.org>
Wed, 27 Mar 2019 02:02:19 +0000 (04:02 +0200)
committerJouni Malinen <jouni@codeaurora.org>
Wed, 27 Mar 2019 02:02:19 +0000 (04:02 +0200)
This is useful for debugging issues where an expected PMKSA cache entry
is not found.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/rsn_supp/pmksa_cache.c

index fdd522087dbc9c6e0f677eb7aed9c85403962aa0..d720f7b811441ae1840be295ad42faaa3438ba42 100644 (file)
@@ -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);