]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Fix updating Beacon frames during association handling
authorAditya Kumar Singh <quic_adisi@quicinc.com>
Thu, 11 Jul 2024 09:05:39 +0000 (14:35 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 11 Jul 2024 14:13:45 +0000 (17:13 +0300)
commit22a592d119911003880f8fe72cf967660f8dce80
tree572d9dbbb3573bb540167dc69a524cedbcb32b59
parent9716bf1160beb677e965d9e6475d6c9e162e8374
hostapd: Fix updating Beacon frames during association handling

In function handle_assoc(), ieee802_11_update_beacons() was used to
update the Beacon frames. However, with commit a5d0bb42a226 ("Reduce
delay between Association Request and Association Response"), it was
changed to ieee802_11_set_beacons() which basically overturned what
commit e59d2a31cfb4 ("hostapd: Fix premature beacon set during
association handling") did which is not correct.

Fix this and use ieee802_11_update_beacons() instead of
ieee802_11_set_beacons().

Fixes: a5d0bb42a226 ("Reduce delay between Association Request and Association Response")
Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
src/ap/ieee802_11.c