eiwd

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

commit 995cbc7ad39d12f24027137395fc10114ba5e1f6
parent bd7f8bf61325d4fcd069cec9a235f87b993b3642
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Wed, 30 Jan 2019 11:22:48 -0600

mpdu: relax IE ordering requirements

Diffstat:
Msrc/mpdu.c | 11++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/mpdu.c b/src/mpdu.c @@ -147,8 +147,12 @@ static bool validate_mgmt_ies(const uint8_t *ies, size_t ies_len, * with recognizable element IDs." */ for (i = 0; i < last_idx; i++) - if (tag == tag_order[i]) - goto check_request_response; + if (tag == tag_order[i]) { + if (response) + goto check_request_response; + + /* Tag is out of order, but ignore this */ + } } return true; @@ -163,9 +167,6 @@ check_request_response: * only requirement being an ascending order of the numerical values * of the IDs. */ - if (!response) - return false; - tag = ie_tlv_iter_get_tag(&iter); while (ie_tlv_iter_next(&iter)) {