~indicator-network-developers/wpasupplicant/trunk

Viewing all changes in revision 18701.

  • Committer: Jouni Malinen
  • Author(s): Aditya Kumar Singh
  • Date: 2023-09-26 08:41:53 UTC
  • Revision ID: git-v1:e59d2a31cfb46e0388e2819cec94fbc4eba652be
hostapd: Fix premature beacon set during association handling

Currently, during association handling, if any of the iface parameters
changes due to some reason, it calls ieee802_11_set_beacons() function.
This function sets beacon for the all the BSSes in that iface even if
the beacon was not set already. This leads to setting the beacon
prematurely for some BSSes which was intentionally not started.

Fix the above issue by calling ieee802_11_update_beacons() function
instead. This function only updates the beacon if it was already set.

While at it, do the same while freeing STA entry.

Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: