When considering to roam to a different BSS and the connection
is an MLD connection, do not roam to a BSS which is already
included in the MLD connection.
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
MAC2STR(selected->bssid), selected->freq, selected->level,
selected->snr, selected->est_throughput);
+ if (wpas_ap_link_address(wpa_s, selected->bssid)) {
+ wpa_dbg(wpa_s, MSG_DEBUG, "MLD: associated to selected BSS");
+ return 0;
+ }
+
if (wpa_s->current_ssid->bssid_set &&
ether_addr_equal(selected->bssid, wpa_s->current_ssid->bssid)) {
wpa_dbg(wpa_s, MSG_DEBUG, "Allow reassociation - selected BSS "