3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02: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:
James Prestwood 2021-09-28 08:46:53 -07:00 committed by Denis Kenzior
parent 7474ff0975
commit 10c8e5e263

View File

@ -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);