]>
Commit | Line | Data |
---|---|---|
18acb8e1 JR |
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 |