3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +01:00

netdev: Use l_genl_family_unicast_handler

This commit is contained in:
Denis Kenzior 2018-11-02 15:53:07 -05:00
parent a4512f3cd6
commit c4153941af

View File

@ -4847,7 +4847,6 @@ bool netdev_init(const char *whitelist, const char *blacklist)
void netdev_set_nl80211(struct l_genl_family *in)
{
struct l_genl_msg *msg;
struct l_genl *genl = l_genl_family_get_genl(in);
nl80211 = in;
@ -4864,7 +4863,7 @@ void netdev_set_nl80211(struct l_genl_family *in)
NULL, NULL))
l_error("Registering for MLME notification failed");
if (!l_genl_set_unicast_handler(genl, netdev_unicast_notify,
if (!l_genl_family_set_unicast_handler(nl80211, netdev_unicast_notify,
NULL, NULL))
l_error("Registering for unicast notification failed");
}