mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
netdev: use work priorities rather than hard coding
This commit is contained in:
parent
217bb6dc65
commit
87e1045b11
12
src/netdev.c
12
src/netdev.c
@ -4039,8 +4039,8 @@ build_cmd_connect:
|
|||||||
NL80211_EXT_FEATURE_CAN_REPLACE_PTK0))
|
NL80211_EXT_FEATURE_CAN_REPLACE_PTK0))
|
||||||
handshake_state_set_no_rekey(hs, true);
|
handshake_state_set_no_rekey(hs, true);
|
||||||
|
|
||||||
wiphy_radio_work_insert(netdev->wiphy, &netdev->work, 1,
|
wiphy_radio_work_insert(netdev->wiphy, &netdev->work,
|
||||||
&connect_work_ops);
|
WIPHY_WORK_PRIORITY_CONNECT, &connect_work_ops);
|
||||||
}
|
}
|
||||||
|
|
||||||
int netdev_connect(struct netdev *netdev, struct scan_bss *bss,
|
int netdev_connect(struct netdev *netdev, struct scan_bss *bss,
|
||||||
@ -4619,8 +4619,8 @@ int netdev_fast_transition(struct netdev *netdev,
|
|||||||
netdev_get_oci, netdev);
|
netdev_get_oci, netdev);
|
||||||
memcpy(netdev->ap->prev_bssid, orig_bss->addr, ETH_ALEN);
|
memcpy(netdev->ap->prev_bssid, orig_bss->addr, ETH_ALEN);
|
||||||
|
|
||||||
wiphy_radio_work_insert(netdev->wiphy, &netdev->work, 1,
|
wiphy_radio_work_insert(netdev->wiphy, &netdev->work,
|
||||||
&ft_work_ops);
|
WIPHY_WORK_PRIORITY_CONNECT, &ft_work_ops);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -4660,8 +4660,8 @@ int netdev_fast_transition_over_ds(struct netdev *netdev,
|
|||||||
netdev);
|
netdev);
|
||||||
memcpy(netdev->ap->prev_bssid, orig_bss->addr, ETH_ALEN);
|
memcpy(netdev->ap->prev_bssid, orig_bss->addr, ETH_ALEN);
|
||||||
|
|
||||||
wiphy_radio_work_insert(netdev->wiphy, &netdev->work, 1,
|
wiphy_radio_work_insert(netdev->wiphy, &netdev->work,
|
||||||
&ft_work_ops);
|
WIPHY_WORK_PRIORITY_CONNECT, &ft_work_ops);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user