tree 12368a84d94fde2e3be86518464f6bd259f52847
parent 7de76272b54e3677bcd247d1e1809015236a298d
author Evgeniy Polyakov <[EMAIL PROTECTED]> Mon, 15 Aug 2005 09:24:58 -0700
committer David S. Miller <[EMAIL PROTECTED]> Tue, 30 Aug 2005 06:00:29 -0700

[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 <[EMAIL PROTECTED]>
Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]>
Signed-off-by: David S. Miller <[EMAIL PROTECTED]>

 drivers/w1/w1_int.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/w1/w1_int.c b/drivers/w1/w1_int.c
--- a/drivers/w1/w1_int.c
+++ b/drivers/w1/w1_int.c
@@ -86,7 +86,7 @@ static struct w1_master * w1_alloc_dev(u
 
        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) {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to