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

station: check for FT work in station_cannot_roam

If station has already started FT ensure station_cannot_roam takes
that into account. Since the state has not yet changed it must also
check if the FT work ID is set.
This commit is contained in:
James Prestwood 2023-01-13 13:24:35 -08:00 committed by Denis Kenzior
parent 155c266d6c
commit fdd5d166b5

View File

@ -2713,7 +2713,8 @@ static bool station_cannot_roam(struct station *station)
return disabled || station->preparing_roam || return disabled || station->preparing_roam ||
station->state == STATION_STATE_ROAMING || station->state == STATION_STATE_ROAMING ||
station->state == STATION_STATE_FT_ROAMING; station->state == STATION_STATE_FT_ROAMING ||
station->ft_work.id;
} }
static void station_roam_trigger_cb(struct l_timeout *timeout, void *user_data) static void station_roam_trigger_cb(struct l_timeout *timeout, void *user_data)