Search Linux Wireless

[PATCH] nl80211: use new generic netlink multicast API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
---
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;
 


-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux