eiwd

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

commit 603988476a6da8ce0a518abaf4b6655e2d378f9d
parent ce5e1e1933dbb11c503702ca0ee7a3d0f142ff4b
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Thu,  4 Feb 2021 13:54:33 -0600

netdev: Ignore locally generated deauth frames

Fixes: 2bebb4bdc7ee ("netdev: Handle deauth frames prior to
association")

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

diff --git a/src/netdev.c b/src/netdev.c @@ -1092,6 +1092,10 @@ static void netdev_deauthenticate_event(struct l_genl_msg *msg, if (L_WARN_ON(!hdr)) return; + /* Ignore any locally generated frames */ + if (!memcmp(hdr->address_2, netdev->addr, sizeof(netdev->addr))) + return; + reason_code = l_get_u8(mmpdu_body(hdr)); l_info("deauth event, src="MAC" dest="MAC" bssid="MAC" reason=%u",