3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-01-09 16:42:33 +01:00

netdev: Update to the new watchlist API

This commit is contained in:
Denis Kenzior 2017-09-06 14:29:33 -05:00
parent 0fa0d49adc
commit 04506c9afa

View File

@ -3330,7 +3330,7 @@ static void netdev_create_from_genl(struct l_genl_msg *msg)
memcpy(netdev->addr, ifaddr, sizeof(netdev->addr));
memcpy(netdev->name, ifname, ifname_len);
netdev->wiphy = wiphy;
watchlist_init(&netdev->event_watches);
watchlist_init(&netdev->event_watches, NULL);
l_queue_push_tail(netdev_list, netdev);