3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 09:39:25 +01:00

hwsim: Use l_genl_family_set_unicast_handler

This commit is contained in:
Denis Kenzior 2018-11-02 15:52:56 -05:00
parent 1d62f4ec0e
commit a4512f3cd6

View File

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