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

station: cancel roam timer when FT starts

Past commits should address any potential problems of the timer
firing during FT, but its still good practice to cancel the timer
once it is no longer needed, i.e. once FT has started.
This commit is contained in:
James Prestwood 2023-01-13 13:24:36 -08:00 committed by Denis Kenzior
parent fdd5d166b5
commit d8ca993a1c

View File

@ -2292,6 +2292,11 @@ static bool station_fast_transition(struct station *station,
vendor_ies = network_info_get_extra_ies(info, bss, &iov_elems); vendor_ies = network_info_get_extra_ies(info, bss, &iov_elems);
handshake_state_set_vendor_ies(hs, vendor_ies, iov_elems); handshake_state_set_vendor_ies(hs, vendor_ies, iov_elems);
if (station->roam_trigger_timeout) {
l_timeout_remove(station->roam_trigger_timeout);
station->roam_trigger_timeout = NULL;
}
/* Both ft_action/ft_authenticate will gate the associate work item */ /* Both ft_action/ft_authenticate will gate the associate work item */
if ((hs->mde[4] & 1)) if ((hs->mde[4] & 1))
ft_action(netdev_get_ifindex(station->netdev), ft_action(netdev_get_ifindex(station->netdev),