eiwd

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

commit 08936c1534465d3efe1ad76ecb8bf8d6d1fb5beb
parent e6aaceeb4b6332441bfd9ffb2a502e336f0d2529
Author: James Prestwood <prestwoj@gmail.com>
Date:   Tue, 28 Sep 2021 08:46:51 -0700

eapol: fix incorrect increment appending OCI

This was addign an extra byte to the buffer which hostapd accepted
unless there was additional data, like the RSNXE.

Diffstat:
Msrc/eapol.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/eapol.c b/src/eapol.c @@ -1256,7 +1256,7 @@ static void eapol_handle_ptk_1_of_4(struct eapol_sm *sm, ies[ies_len++] = 4 + 3; l_put_be32(HANDSHAKE_KDE_OCI, ies + ies_len); ies_len += 4; - oci_from_chandef(sm->handshake->chandef, ies + ies_len++); + oci_from_chandef(sm->handshake->chandef, ies + ies_len); ies_len += 3; }