mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
[WIRELESS]: Convert notifications to use rtnl_notify()
Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
280a306c53
commit
bd5785ba3a
@ -85,6 +85,7 @@
|
|||||||
|
|
||||||
#include <linux/wireless.h> /* Pretty obvious */
|
#include <linux/wireless.h> /* Pretty obvious */
|
||||||
#include <net/iw_handler.h> /* New driver API */
|
#include <net/iw_handler.h> /* New driver API */
|
||||||
|
#include <net/netlink.h>
|
||||||
|
|
||||||
#include <asm/uaccess.h> /* copy_to_user() */
|
#include <asm/uaccess.h> /* copy_to_user() */
|
||||||
|
|
||||||
@ -1849,7 +1850,7 @@ static void wireless_nlevent_process(unsigned long data)
|
|||||||
struct sk_buff *skb;
|
struct sk_buff *skb;
|
||||||
|
|
||||||
while ((skb = skb_dequeue(&wireless_nlevent_queue)))
|
while ((skb = skb_dequeue(&wireless_nlevent_queue)))
|
||||||
netlink_broadcast(rtnl, skb, 0, RTNLGRP_LINK, GFP_ATOMIC);
|
rtnl_notify(skb, 0, RTNLGRP_LINK, NULL, GFP_ATOMIC);
|
||||||
}
|
}
|
||||||
|
|
||||||
static DECLARE_TASKLET(wireless_nlevent_tasklet, wireless_nlevent_process, 0);
|
static DECLARE_TASKLET(wireless_nlevent_tasklet, wireless_nlevent_process, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user