Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] nl80211: use new generic netlink multicast API
@ 2007-07-18 22:08 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2007-07-18 22:08 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-wireless

This patch again updates nl80211 to use the again changed generic
netlink multicast API.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
I just proposed a change to the genetlink multicast API to make sure
people do use the group registration functions. This patch changes
nl80211 to follow that change, but I don't know yet whether the change
will be accepted. But if it is then this is what nl80211 needs to
follow. Of course it depends on the previous patch to use the new
generic netlink multicast API in nl80211.

 net/wireless/nl80211.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- wireless-dev.orig/net/wireless/nl80211.c	2007-07-19 00:04:37.760937160 +0200
+++ wireless-dev/net/wireless/nl80211.c	2007-07-19 00:04:41.430937160 +0200
@@ -964,7 +964,7 @@ void nl80211_notify_dev_rename(struct cf
 	NLA_PUT_STRING(msg, NL80211_ATTR_WIPHY_NAME, wiphy_name(&rdev->wiphy));
 
 	genlmsg_end(msg, hdr);
-	genlmsg_multicast(msg, 0, nl80211_config_mcgrp.id, GFP_KERNEL);
+	genlmsg_multicast(msg, 0, &nl80211_config_mcgrp, GFP_KERNEL);
 
 	return;
 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-19 10:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-18 22:08 [PATCH] nl80211: use new generic netlink multicast API Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox