]> git.pld-linux.org Git - packages/rtl8812au.git/blob - linux-3.11.patch
9fe8378fd1c3992cb47d333c0294b628d628274c
[packages/rtl8812au.git] / linux-3.11.patch
1 diff --git a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c
2 index ca56b4c..659305f 100644
3 --- a/os_dep/linux/os_intfs.c
4 +++ b/os_dep/linux/os_intfs.c
5 @@ -660,7 +660,11 @@ u16 rtw_recv_select_queue(struct sk_buff *skb)
6  
7  static int rtw_ndev_notifier_call(struct notifier_block * nb, unsigned long state, void *ndev)
8  {
9 +#if (LINUX_VERSION_CODE>=KERNEL_VERSION(3,11,0))
10 +       struct net_device *dev = netdev_notifier_info_to_dev(ndev);
11 +#else
12         struct net_device *dev = ndev;
13 +#endif
14  
15  #if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,29))
16         if (!dev->netdev_ops || dev->netdev_ops->ndo_do_ioctl != rtw_ioctl)
This page took 0.048686 seconds and 2 git commands to generate.