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:
parent
1d62f4ec0e
commit
a4512f3cd6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user