mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-20 04:09:41 +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);
|
||||
|
||||
done:
|
||||
wiphy_radio_work_insert(station->wiphy, &station->ft_work,
|
||||
WIPHY_WORK_PRIORITY_CONNECT, &ft_work_ops);
|
||||
if (station->ft_work.id)
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user