diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index e58fc12e9..823556e3a 100644 --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c @@ -2167,6 +2167,11 @@ int wpa_supplicant_need_to_roam_within_ess(struct wpa_supplicant *wpa_s, 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 "