]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Fix dynamic ACCEPT_ACL management over control interface
authorMasafumi Utsugi <mutsugi@allied-telesis.co.jp>
Tue, 29 Sep 2020 06:12:01 +0000 (15:12 +0900)
committerJouni Malinen <j@w1.fi>
Sun, 7 Feb 2021 08:17:57 +0000 (10:17 +0200)
commit15251c658431fa6827f66162c409291eb2a5cd2f
treeeb0f28356421927e16df91aab3e80d9fec0b1b4f
parent0f8994b11d3bdf104a54cb08b5a61484b9e36057
hostapd: Fix dynamic ACCEPT_ACL management over control interface

hostapd_disassoc_accept_mac() was called after a new accept MAC address
was added (ACCEPT_ACL ADD_MAC), but this function should have been
called after an accept MAC address was removed and accept MAC list was
cleared to disconnect a STA which is not listed in the update accept MAC
address list. Fix this by moving the call to places where a connected
STA can actually end up losing its previously present accept entry.

Signed-off-by: Masafumi Utsugi <mutsugi@allied-telesis.co.jp>
hostapd/ctrl_iface.c