3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 02:19:26 +01:00

station: ignore AP directed roams if not connected

This commit is contained in:
Denis Kenzior 2022-04-05 09:58:39 -05:00
parent 3169bfee19
commit 3fad65e5df

View File

@ -2642,6 +2642,11 @@ static void station_ap_directed_roam(struct station *station,
pos += url_len;
}
if (station->state != STATION_STATE_CONNECTED) {
l_debug("roam: unexpected AP directed roam -- ignore");
return;
}
station->ap_directed_roaming = true;
station->preparing_roam = true;