Skip to content

Commit

Permalink
[NETLINK]: w1_int.c: fix default netlink group
Browse files Browse the repository at this point in the history
w1 does not need to multicast its state to several groups at once,
and upcoming netlink changes will not allow bitmask for groups anyway.

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Evgeniy Polyakov authored and David S. Miller committed Aug 29, 2005
1 parent 7de7627 commit ad93e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/w1/w1_int.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static struct w1_master * w1_alloc_dev(u32 id, int slave_count, int slave_ttl,

dev->driver = driver;

dev->groups = 23;
dev->groups = 1;
dev->seq = 1;
dev->nls = netlink_kernel_create(NETLINK_W1, NULL, THIS_MODULE);
if (!dev->nls) {
Expand Down

0 comments on commit ad93e26

Please sign in to comment.