mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +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:
parent
fdd5d166b5
commit
d8ca993a1c
@ -2292,6 +2292,11 @@ static bool station_fast_transition(struct station *station,
|
||||
vendor_ies = network_info_get_extra_ies(info, bss, &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 */
|
||||
if ((hs->mde[4] & 1))
|
||||
ft_action(netdev_get_ifindex(station->netdev),
|
||||
|
Loading…
Reference in New Issue
Block a user