From: Johannes Berg <johannes@sipsolutions.net>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: [PATCH] nl80211: use new generic netlink multicast API
Date: Thu, 19 Jul 2007 00:08:45 +0200 [thread overview]
Message-ID: <1184796525.8125.33.camel@johannes.berg> (raw)
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;
reply other threads:[~2007-07-19 10:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1184796525.8125.33.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox