Message ID | 20230113212436.794519-3-prestwoj@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [v2,1/3] station: add checks to prevent multiple roam scans | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
prestwoj/iwd-ci-gitlint | success | GitLint |
diff --git a/src/station.c b/src/station.c index ed98a8d8..381065a2 100644 --- a/src/station.c +++ b/src/station.c @@ -2299,6 +2299,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),