]> git.pld-linux.org Git - packages/rtl8812au.git/blob - linux-4.6.patch
- start fixing build with linux 4.12
[packages/rtl8812au.git] / linux-4.6.patch
1 --- rtl8812au_linux-master/os_dep/linux/rtw_android.c~  2016-06-19 17:56:30.000000000 +0200
2 +++ rtl8812au_linux-master/os_dep/linux/rtw_android.c   2016-06-19 17:57:23.699243076 +0200
3 @@ -574,7 +574,11 @@
4                 goto exit;
5         }
6  #ifdef CONFIG_COMPAT
7 +#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 6, 0))
8         if (is_compat_task()) {
9 +#else
10 +       if (in_compat_syscall()) {
11 +#endif
12                 /* User space is 32-bit, use compat ioctl */
13                 compat_android_wifi_priv_cmd compat_priv_cmd;
14  
This page took 0.05077 seconds and 3 git commands to generate.