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:
parent
7f396e678b
commit
74bcc94ed0
@ -577,7 +577,11 @@ int rtw_android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd)
|
|||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
#ifdef CONFIG_COMPAT
|
#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 */
|
/* User space is 32-bit, use compat ioctl */
|
||||||
compat_android_wifi_priv_cmd compat_priv_cmd;
|
compat_android_wifi_priv_cmd compat_priv_cmd;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user