[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]>

---
commit 4607d0cbed576a36910557a3326b2388045d56c0
tree 7dfe448c29ff99f2c1ecf24dc03d5e6ce6512dfd
parent 15384b6699ac1c8753fa6829e35e74d57e0aa7e0
author Evgeniy Polyakov <[EMAIL PROTECTED]> Mon, 15 Aug 2005 02:02:43 +0200
committer Patrick McHardy <[EMAIL PROTECTED]> Mon, 15 Aug 2005 02:02:43 +0200

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

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) {

Reply via email to