From 04506c9afaf096a3840a75170565cd4d371840a7 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 6 Sep 2017 14:29:33 -0500 Subject: [PATCH] netdev: Update to the new watchlist API --- src/netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netdev.c b/src/netdev.c index c6699d37..8601d12e 100644 --- a/src/netdev.c +++ b/src/netdev.c @@ -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);