station: Ignore AP directed roams if already trying to roam

This commit is contained in:
Denis Kenzior 2022-04-05 11:38:24 -05:00
parent 92ef3da714
commit dc7e12ac0c
1 changed files with 5 additions and 0 deletions

View File

@ -2670,6 +2670,11 @@ static void station_ap_directed_roam(struct station *station,
return;
}
if (station->preparing_roam) {
l_debug("roam: roam attempt already in progress -- ignore");
return;
}
station->ap_directed_roaming = true;
station->preparing_roam = true;