]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[NETLINK]: w1_int.c: fix default netlink group
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>
Mon, 15 Aug 2005 02:24:58 +0000 (19:24 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 23:00:29 +0000 (16:00 -0700)
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>
drivers/w1/w1_int.c

index 8809788dac26f550c80e489429122206edcb99c3..f3f339d057f98b5995264dcbbb6bfc216c6a1ea5 100644 (file)
@@ -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) {