From: Thomas Graf Date: Tue, 15 Aug 2006 07:36:49 +0000 (-0700) Subject: [WIRELESS]: Convert notifications to use rtnl_notify() X-Git-Tag: v2.6.19-rc1~1272^2~248 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd5785ba3ac1c89aa4c351ceb2acd96686424d8c;p=linux-2.6 [WIRELESS]: Convert notifications to use rtnl_notify() Signed-off-by: Thomas Graf Signed-off-by: David S. Miller --- diff --git a/net/core/wireless.c b/net/core/wireless.c index 348b9da73c..3168fca312 100644 --- a/net/core/wireless.c +++ b/net/core/wireless.c @@ -85,6 +85,7 @@ #include /* Pretty obvious */ #include /* New driver API */ +#include #include /* copy_to_user() */ @@ -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);