Changeset 22860


Ignore:
Timestamp:
2010-08-31T22:06:32+02:00 (6 years ago)
Author:
juhosg
Message:

package/broadcom-diag: use broadcast_uevent

Location:
trunk/package/broadcom-diag
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/broadcom-diag/Makefile

    r22145 r22860  
    1010 
    1111PKG_NAME:=broadcom-diag 
    12 PKG_RELEASE:=8 
     12PKG_RELEASE:=9 
    1313 
    1414include $(INCLUDE_DIR)/package.mk 
  • trunk/package/broadcom-diag/src/diag.c

    r22521 r22860  
    3131#include <linux/skbuff.h> 
    3232#include <linux/netlink.h> 
     33#include <linux/kobject.h> 
    3334#include <net/sock.h> 
    34 extern struct sock *uevent_sock; 
    3535extern u64 uevent_next_seqnum(void); 
    3636 
     
    11701170        char *s; 
    11711171 
    1172         if (!uevent_sock) 
    1173                 return; 
    1174  
    11751172        event->skb = alloc_skb(2048, GFP_KERNEL); 
    11761173 
     
    11801177 
    11811178        NETLINK_CB(event->skb).dst_group = 1; 
    1182         netlink_broadcast(uevent_sock, event->skb, 0, 1, GFP_KERNEL); 
     1179        broadcast_uevent(event->skb, 0, 1, GFP_KERNEL); 
    11831180 
    11841181        kfree(event); 
Note: See TracChangeset for help on using the changeset viewer.