When two or more radios are configured in automatic channel selection (ACS)
mode, one radio completes ACS and starts generating per-station profiles
for all links during the beacon frame set. However, the other radio is
still in ACS mode, resulting in the following error messages in the
hostapd log:
Failed to check if DFS is required; ret=-1
To address this, generate per-station profiles for the links that have
already completed ACS.
Signed-off-by: Aaradhana Sahu <quic_aarasahu@quicinc.com>
struct hostapd_data *link_bss;
u8 link_id, *sta_profile;
- if (!hapd->conf->mld_ap)
+ if (!hapd->conf->mld_ap || !hapd->started)
return;
wpa_printf(MSG_DEBUG, "MLD: Generating per STA profiles for MLD %s",