If an AP MLD receives a (Re)Association Request frame from an associated
non-AP MLD and if SA query has already timed out for the existing
station entry, the link address should be updated since the non-AP MLD
might have changed its link address in the new association.
Signed-off-by: Karthik M <karthik.m@oss.qualcomm.com>
mld_addrs_not_translated = true;
}
+ /* Allow link address to be changed if an SA query
+ * procedure has expired. */
+ if (sta->sa_query_timed_out) {
+ u8 _link = hapd->mld_link_id;
+
+ os_memcpy(sta->mld_info.links[_link].peer_addr,
+ mgmt->sa, ETH_ALEN);
+ }
+
}
}
#endif /* CONFIG_IEEE80211BE */