mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
netdev: change netdev_get_oci to be used as a callback
This can be reused to be called from ft.c
This commit is contained in:
parent
7474ff0975
commit
10c8e5e263
@ -2077,8 +2077,9 @@ done:
|
||||
L_WARN_ON(!eapol_start(netdev->sm));
|
||||
}
|
||||
|
||||
static int netdev_get_oci(struct netdev *netdev)
|
||||
static int netdev_get_oci(void *user_data)
|
||||
{
|
||||
struct netdev *netdev = user_data;
|
||||
struct l_genl_msg *msg =
|
||||
l_genl_msg_new_sized(NL80211_CMD_GET_INTERFACE, 64);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user