3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-17 17:39:28 +01:00

netdev: Don't set userdata for getlink

This commit is contained in:
Denis Kenzior 2018-08-17 13:29:05 -05:00
parent 015e8625bf
commit ec437661b8

View File

@ -4439,7 +4439,7 @@ static void netdev_create_from_genl(struct l_genl_msg *msg)
rtmmsg->ifi_index = *ifindex;
l_netlink_send(rtnl, RTM_GETLINK, 0, rtmmsg, bufsize,
netdev_getlink_cb, netdev, NULL);
netdev_getlink_cb, NULL, NULL);
l_free(rtmmsg);