mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 04:32:37 +01:00
netdev: Don't set userdata for getlink
This commit is contained in:
parent
015e8625bf
commit
ec437661b8
@ -4439,7 +4439,7 @@ static void netdev_create_from_genl(struct l_genl_msg *msg)
|
|||||||
rtmmsg->ifi_index = *ifindex;
|
rtmmsg->ifi_index = *ifindex;
|
||||||
|
|
||||||
l_netlink_send(rtnl, RTM_GETLINK, 0, rtmmsg, bufsize,
|
l_netlink_send(rtnl, RTM_GETLINK, 0, rtmmsg, bufsize,
|
||||||
netdev_getlink_cb, netdev, NULL);
|
netdev_getlink_cb, NULL, NULL);
|
||||||
|
|
||||||
l_free(rtmmsg);
|
l_free(rtmmsg);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user