aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>2005-08-14 22:24:58 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 19:00:29 -0400
commitad93e266a17c6f606e96304c866eb73665ae34fa (patch)
tree12368a84d94fde2e3be86518464f6bd259f52847 /drivers/w1
parent7de76272b54e3677bcd247d1e1809015236a298d (diff)
[NETLINK]: w1_int.c: fix default netlink group
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>
Diffstat (limited to 'drivers/w1')
-rw-r--r--drivers/w1/w1_int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/w1_int.c b/drivers/w1/w1_int.c
index 8809788dac26..f3f339d057f9 100644
--- a/drivers/w1/w1_int.c
+++ b/drivers/w1/w1_int.c
@@ -86,7 +86,7 @@ static struct w1_master * w1_alloc_dev(u32 id, int slave_count, int slave_ttl,
86 86
87 dev->driver = driver; 87 dev->driver = driver;
88 88
89 dev->groups = 23; 89 dev->groups = 1;
90 dev->seq = 1; 90 dev->seq = 1;
91 dev->nls = netlink_kernel_create(NETLINK_W1, NULL, THIS_MODULE); 91 dev->nls = netlink_kernel_create(NETLINK_W1, NULL, THIS_MODULE);
92 if (!dev->nls) { 92 if (!dev->nls) {