eiwd

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

commit 3dae0592b0fb3d85af19d4bf8c55212509827c89
parent e467566866c17d05d4cfd42dac6559770de523b2
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Thu, 11 Mar 2021 22:33:06 -0600

eapol: Use bit_field from ell

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

diff --git a/src/eapol.c b/src/eapol.c @@ -30,6 +30,7 @@ #include <errno.h> #include <ell/ell.h> +#include "ell/useful.h" #include "src/missing.h" #include "src/module.h" #include "src/crypto.h" @@ -1707,7 +1708,7 @@ static void eapol_handle_ptk_3_of_4(struct eapol_sm *sm, /* TODO: Handle tx bit */ - gtk_key_index = util_bit_field(gtk[0], 0, 2); + gtk_key_index = bit_field(gtk[0], 0, 2); gtk += 2; gtk_len -= 2; } else @@ -1898,7 +1899,7 @@ static void eapol_handle_gtk_1_of_2(struct eapol_sm *sm, if (!gtk) return; - gtk_key_index = util_bit_field(gtk[0], 0, 2); + gtk_key_index = bit_field(gtk[0], 0, 2); gtk += 2; gtk_len -= 2; } else {