From a4512f3cd680c728de2b319f8ff181ff215b12ba Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 2 Nov 2018 15:52:56 -0500 Subject: [PATCH] hwsim: Use l_genl_family_set_unicast_handler --- tools/hwsim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/hwsim.c b/tools/hwsim.c index 64c6dd98..3b70daaa 100644 --- a/tools/hwsim.c +++ b/tools/hwsim.c @@ -2373,7 +2373,7 @@ static void hwsim_ready(void *user_data) l_genl_family_set_watches(nl80211, nl80211_ready, NULL, NULL, NULL); - if (!l_genl_set_unicast_handler(genl, unicast_handler, + if (!l_genl_family_set_unicast_handler(hwsim, unicast_handler, NULL, NULL)) { l_error("Failed to set unicast handler"); goto error;