eiwd

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

commit dd1885de11bd2192037f0faf35164426e1559b35
parent d8882a75e51b4f2a39ac39cc6d6f41dd85aeac6e
Author: James Prestwood <james.prestwood@linux.intel.com>
Date:   Tue, 14 Aug 2018 11:16:10 -0700

sae: remove double sc increment

The send confirm counter is incremented before calling sae_send_confirm
in all cases, but the function itself was also incrementing sc after
sending the packet. This isn't critical to the successful execution of
SAE as the AP just uses the sc value in the packet but it did violate
the 802.11 spec.

Diffstat:
Msrc/sae.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/sae.c b/src/sae.c @@ -468,8 +468,6 @@ static void sae_send_confirm(struct sae_sm *sm) memcpy(ptr, confirm, 32); ptr += 32; - sm->sc++; - sm->state = SAE_STATE_CONFIRMED; sm->tx(sm->handshake->aa, body, 38, sm->user_data);