AP MLD: Use STA assoc link address in external auth status to the driver
Use station association link address for sending SAE authentication status to the driver in AP mode external authentication status. Signed-off-by: Manaswini Paluri <quic_mpaluri@quicinc.com>
This commit is contained in:
parent
4636476b7f
commit
e53d44ac63
1 changed files with 9 additions and 1 deletions
|
@ -874,7 +874,15 @@ static void sae_sme_send_external_auth_status(struct hostapd_data *hapd,
|
|||
|
||||
os_memset(¶ms, 0, sizeof(params));
|
||||
params.status = status;
|
||||
params.bssid = sta->addr;
|
||||
|
||||
#ifdef CONFIG_IEEE80211BE
|
||||
if (sta->mld_info.mld_sta)
|
||||
params.bssid =
|
||||
sta->mld_info.links[sta->mld_assoc_link_id].peer_addr;
|
||||
#endif /* CONFIG_IEEE80211BE */
|
||||
if (!params.bssid)
|
||||
params.bssid = sta->addr;
|
||||
|
||||
if (status == WLAN_STATUS_SUCCESS && sta->sae &&
|
||||
!hapd->conf->disable_pmksa_caching)
|
||||
params.pmkid = sta->sae->pmkid;
|
||||
|
|
Loading…
Reference in a new issue