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 commita5d0bb42a2
("Reduce delay between Association Request and Association Response"), it was changed to ieee802_11_set_beacons() which basically overturned what commite59d2a31cf
("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:a5d0bb42a2
("Reduce delay between Association Request and Association Response") Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
This commit is contained in:
parent
9716bf1160
commit
22a592d119
1 changed files with 1 additions and 1 deletions
|
@ -5622,7 +5622,7 @@ static void handle_assoc(struct hostapd_data *hapd,
|
|||
#endif /* CONFIG_FILS */
|
||||
|
||||
if (set_beacon)
|
||||
ieee802_11_set_beacons(hapd->iface);
|
||||
ieee802_11_update_beacons(hapd->iface);
|
||||
|
||||
fail:
|
||||
|
||||
|
|
Loading…
Reference in a new issue