diff options
author | Thomas Graf <tgraf@suug.ch> | 2006-08-15 03:36:49 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:55:00 -0400 |
commit | bd5785ba3ac1c89aa4c351ceb2acd96686424d8c (patch) | |
tree | 26e473bff32af75af82ebab226d18bba8ba459cb /net/core | |
parent | 280a306c539389156477cc9c07028d43fe4fbf86 (diff) |
[WIRELESS]: Convert notifications to use rtnl_notify()
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/wireless.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/core/wireless.c b/net/core/wireless.c index 348b9da73cc4..3168fca312f7 100644 --- a/net/core/wireless.c +++ b/net/core/wireless.c | |||
@@ -85,6 +85,7 @@ | |||
85 | 85 | ||
86 | #include <linux/wireless.h> /* Pretty obvious */ | 86 | #include <linux/wireless.h> /* Pretty obvious */ |
87 | #include <net/iw_handler.h> /* New driver API */ | 87 | #include <net/iw_handler.h> /* New driver API */ |
88 | #include <net/netlink.h> | ||
88 | 89 | ||
89 | #include <asm/uaccess.h> /* copy_to_user() */ | 90 | #include <asm/uaccess.h> /* copy_to_user() */ |
90 | 91 | ||
@@ -1849,7 +1850,7 @@ static void wireless_nlevent_process(unsigned long data) | |||
1849 | struct sk_buff *skb; | 1850 | struct sk_buff *skb; |
1850 | 1851 | ||
1851 | while ((skb = skb_dequeue(&wireless_nlevent_queue))) | 1852 | while ((skb = skb_dequeue(&wireless_nlevent_queue))) |
1852 | netlink_broadcast(rtnl, skb, 0, RTNLGRP_LINK, GFP_ATOMIC); | 1853 | rtnl_notify(skb, 0, RTNLGRP_LINK, NULL, GFP_ATOMIC); |
1853 | } | 1854 | } |
1854 | 1855 | ||
1855 | static DECLARE_TASKLET(wireless_nlevent_tasklet, wireless_nlevent_process, 0); | 1856 | static DECLARE_TASKLET(wireless_nlevent_tasklet, wireless_nlevent_process, 0); |