eiwd

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

commit a1189d64b1d2e46a234837610b7605cd58bd57f5
parent 27d698a0c073c41cd99f2a2493ee479377bd886f
Author: James Prestwood <prestwoj@gmail.com>
Date:   Mon, 21 Oct 2019 15:02:50 -0700

sae: remove unneeded NULL pointer check

The frame was already validated, and mmpdu_body will never return
a NULL pointer.

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

diff --git a/src/sae.c b/src/sae.c @@ -1024,11 +1024,6 @@ static int sae_rx_authenticate(struct auth_proto *ap, auth = mmpdu_body(hdr); - if (!auth) { - l_debug("Auth frame body did not validate"); - goto reject; - } - len -= mmpdu_header_len(hdr); ret = sae_verify_packet(sm, L_LE16_TO_CPU(auth->transaction_sequence),