eiwd

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

commit 6e660032c14fbede401d9561303b0209c1b2ac17
parent 44b3e7a8bb00836f0fc6c7f179c2edd36b58b746
Author: James Prestwood <prestwoj@gmail.com>
Date:   Fri, 25 Feb 2022 15:32:47 -0800

station: use IE_AKM_IS_FILS

Use this macro instead of manually checking

Diffstat:
Msrc/station.c | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/station.c b/src/station.c @@ -1167,10 +1167,7 @@ build_ie: * a reference now so it remains valid (in case of expiration) until * FILS starts. */ - if (hs->akm_suite & (IE_RSN_AKM_SUITE_FILS_SHA256 | - IE_RSN_AKM_SUITE_FILS_SHA384 | - IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA256 | - IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384)) + if (IE_AKM_IS_FILS(hs->akm_suite)) hs->erp_cache = erp_cache; else if (erp_cache) erp_cache_put(erp_cache);