From 0fa0d49adcdfed8cebcf01cfff82ca74272aa06f Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 31 Aug 2017 17:58:23 -0500 Subject: [PATCH] device: Update to the new watchlist API --- src/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/device.c b/src/device.c index a1e9033f..c806bf08 100644 --- a/src/device.c +++ b/src/device.c @@ -2081,7 +2081,7 @@ struct device *device_create(struct wiphy *wiphy, struct netdev *netdev) device = l_new(struct device, 1); device->bss_list = l_queue_new(); device->networks = l_hashmap_new(); - watchlist_init(&device->state_watches); + watchlist_init(&device->state_watches, NULL); l_hashmap_set_hash_function(device->networks, l_str_hash); l_hashmap_set_compare_function(device->networks, (l_hashmap_compare_func_t) strcmp); @@ -2177,7 +2177,7 @@ bool device_init(void) NULL, false)) return false; - watchlist_init(&device_watches); + watchlist_init(&device_watches, NULL); device_list = l_queue_new(); return true;