eiwd

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

commit 7f9ea7640d056f8ef2878d87a93bfec8c5dd6425
parent c52d913f20ca8b58973037caf260c90661f5fb52
Author: James Prestwood <prestwoj@gmail.com>
Date:   Thu, 13 Feb 2025 12:18:15 -0800

handshake: use pmksa_cache_free

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

diff --git a/src/handshake.c b/src/handshake.c @@ -1239,7 +1239,7 @@ static struct pmksa *handshake_state_steal_pmksa(struct handshake_state *s) s->have_pmksa = false; if (l_time_after(now, pmksa->expiration)) { - l_free(pmksa); + pmksa_cache_free(pmksa); pmksa = NULL; } @@ -1280,7 +1280,7 @@ void handshake_state_cache_pmksa(struct handshake_state *s) l_debug("Caching PMKSA for "MAC, MAC_STR(s->aa)); if (L_WARN_ON(pmksa_cache_put(pmksa) < 0)) - l_free(pmksa); + pmksa_cache_free(pmksa); } bool handshake_state_remove_pmksa(struct handshake_state *s) @@ -1294,7 +1294,7 @@ bool handshake_state_remove_pmksa(struct handshake_state *s) if (!pmksa) return false; - l_free(pmksa); + pmksa_cache_free(pmksa); return true; }