1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-25 14:44:09 +00:00

Another is_compat_task() issue

This commit is contained in:
Sergei Makarenkov 2017-01-21 23:52:11 +03:00
parent 7f396e678b
commit 74bcc94ed0

View File

@ -577,7 +577,11 @@ int rtw_android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd)
goto exit;
}
#ifdef CONFIG_COMPAT
if (is_compat_task()) {
#ifdef in_compat_syscall
if(in_compat_syscall()) {
#else
if(is_compat_task()) {
#endif
/* User space is 32-bit, use compat ioctl */
compat_android_wifi_priv_cmd compat_priv_cmd;