Skip to content

Commit

Permalink
[WIRELESS]: Convert notifications to use rtnl_notify()
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Thomas Graf authored and David S. Miller committed Sep 22, 2006
1 parent 280a306 commit bd5785b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/core/wireless.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@

#include <linux/wireless.h> /* Pretty obvious */
#include <net/iw_handler.h> /* New driver API */
#include <net/netlink.h>

#include <asm/uaccess.h> /* copy_to_user() */

Expand Down Expand Up @@ -1849,7 +1850,7 @@ static void wireless_nlevent_process(unsigned long data)
struct sk_buff *skb;

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);
Expand Down

0 comments on commit bd5785b

Please sign in to comment.