]> git.ipfire.org Git - thirdparty/hostap.git/commit
Update STA flags to the driver immediately on disconnection
authorJouni Malinen <jouni@codeaurora.org>
Wed, 18 Mar 2020 10:41:46 +0000 (12:41 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 26 Mar 2020 15:51:03 +0000 (17:51 +0200)
commitb7275a8142202e730f70c2812a3e37ce763ad25c
tree9fe854224b44bf36c7914ea52096e63115e522e1
parentb766ac488fd443871e36e9f8dd4bef8943875f14
Update STA flags to the driver immediately on disconnection

hostapd (and wpa_supplicant in AP mode) was internally updating the STA
flags on disconnection cases to remove authorization and association.
However, some cases did not result in immediate update of the driver STA
entry. Update all such cases to send out the update to the driver as
well to reduce risk of race conditions where new frames might be
accepted for TX or RX after the port authorization or association has
been lost and configured keys are removed.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/ap/ap_drv_ops.c
src/ap/drv_callbacks.c
src/ap/ieee802_11.c
src/ap/sta_info.c