eiwd

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

commit 1449b8fbc481938cf0fce2d3021c3b73533634dc
parent 137309c9984919bac7ea566ef6945b3705b274c3
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date:   Thu, 27 Aug 2020 20:14:48 +0200

ap: Fix incoming Probe Request BSSID check

Setting 'match' false wouldn't do anything because it was already false.
If the frame is addressed to some other non-broadcast address ignore it
directly and exit ap_probe_req_cb.

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

diff --git a/src/ap.c b/src/ap.c @@ -1129,11 +1129,11 @@ static void ap_probe_req_cb(const struct mmpdu_header *hdr, const void *body, if (memcmp(hdr->address_1, bssid, 6) && !util_is_broadcast_address(hdr->address_1)) - match = false; + return; if (memcmp(hdr->address_3, bssid, 6) && !util_is_broadcast_address(hdr->address_3)) - match = false; + return; if (!ssid || ssid_len == 0) /* Wildcard SSID */ match = true;