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
1 changed files with 1 additions and 1 deletions

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