mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-20 04:19:25 +01:00
station: use wiphy_radio_work_reschedule in FT path
If FT fails the work item needs to be rescheduled rather than inserted.
This commit is contained in:
parent
109cb70f22
commit
189c23a5d9
@ -2330,8 +2330,12 @@ static bool station_fast_transition(struct station *station,
|
|||||||
ft_authenticate(netdev_get_ifindex(station->netdev), bss);
|
ft_authenticate(netdev_get_ifindex(station->netdev), bss);
|
||||||
|
|
||||||
done:
|
done:
|
||||||
wiphy_radio_work_insert(station->wiphy, &station->ft_work,
|
if (station->ft_work.id)
|
||||||
WIPHY_WORK_PRIORITY_CONNECT, &ft_work_ops);
|
wiphy_radio_work_reschedule(station->wiphy, &station->ft_work);
|
||||||
|
else
|
||||||
|
wiphy_radio_work_insert(station->wiphy, &station->ft_work,
|
||||||
|
WIPHY_WORK_PRIORITY_CONNECT,
|
||||||
|
&ft_work_ops);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user