genetlink: pass family to functions using groups
This doesn't really change anything, but prepares for the next patch that will change the APIs to pass the group ID within the family, rather than the global group ID. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
62b68e99fa
commit
68eb55031d
@@ -279,7 +279,8 @@ int wimax_msg_send(struct wimax_dev *wimax_dev, struct sk_buff *skb)
|
||||
|
||||
d_printf(1, dev, "CTX: wimax msg, %zu bytes\n", size);
|
||||
d_dump(2, dev, msg, size);
|
||||
genlmsg_multicast(skb, 0, wimax_gnl_mcg.id, GFP_KERNEL);
|
||||
genlmsg_multicast(&wimax_gnl_family, skb, 0,
|
||||
wimax_gnl_mcg.id, GFP_KERNEL);
|
||||
d_printf(1, dev, "CTX: genl multicast done\n");
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user