eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit bf82aff0398261e170de1073e78748f797271233
parent 4b535cee1f88734c982c0a5d0bc89109c888dd0c
Author: James Prestwood <prestwoj@gmail.com>
Date:   Mon,  6 Jan 2025 07:34:30 -0800

handshake: add more debugging around PMKSA caching

Instead of just printing the PMKSA pointer separate this into two
separate debug messages, one for if the PMKSA exists and the other
if it does not. In addition print out the MAC of the AP so we have
a reference of which PMKSA this is.

Diffstat:
Msrc/handshake.c | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/handshake.c b/src/handshake.c @@ -1272,10 +1272,12 @@ void handshake_state_cache_pmksa(struct handshake_state *s) { struct pmksa *pmksa = handshake_state_steal_pmksa(s); - l_debug("%p", pmksa); - - if (!pmksa) + if (!pmksa) { + l_debug("No PMKSA for "MAC, MAC_STR(s->aa)); return; + } + + l_debug("Caching PMKSA for "MAC, MAC_STR(s->aa)); if (L_WARN_ON(pmksa_cache_put(pmksa) < 0)) l_free(pmksa);