]> git.pld-linux.org Git - packages/rtl8812au.git/blob - linux-4.11.9.patch
- rel 16
[packages/rtl8812au.git] / linux-4.11.9.patch
1 --- rtl8812au_linux-master/os_dep/linux/ioctl_cfg80211.c~       2017-07-15 22:35:08.000000000 +0900
2 +++ rtl8812au_linux-master/os_dep/linux/ioctl_cfg80211.c        2017-07-15 22:35:33.436437371 +0900
3 @@ -3792,7 +3792,12 @@
4  #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0))
5         mon_ndev->name_assign_type = name_assign_type;
6  #endif
7 + #if (LINUX_VERSION_CODE < KERNEL_VERSION(4,11,9))
8         mon_ndev->destructor = rtw_ndev_destructor;
9 +#else
10 +       mon_ndev->needs_free_netdev = true;
11 +       mon_ndev->priv_destructor = rtw_ndev_destructor;
12 +#endif
13         
14  #if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,29))
15         mon_ndev->netdev_ops = &rtw_cfg80211_monitor_if_ops;
16 --- rtl8812au_linux-master/os_dep/linux/os_intfs.c~     2017-07-15 22:29:21.000000000 +0900
17 +++ rtl8812au_linux-master/os_dep/linux/os_intfs.c      2017-07-15 22:34:47.048201499 +0900
18 @@ -2651,7 +2651,9 @@
19         if (ndev->ieee80211_ptr)
20                 rtw_mfree((u8 *)ndev->ieee80211_ptr, sizeof(struct wireless_dev));
21  #endif
22 +#if (LINUX_VERSION_CODE < KERNEL_VERSION(4,11,9))
23         free_netdev(ndev);
24 +#endif
25  }
26  
27  #ifdef CONFIG_ARP_KEEP_ALIVE
This page took 0.020659 seconds and 3 git commands to generate.