Change is_compat_task to in_compat_syscall
This commit is contained in:
@@ -13902,7 +13902,11 @@ static int rtw_ioctl_standard_wext_private(struct net_device *dev, struct ifreq
|
||||
static int rtw_ioctl_wext_private(struct net_device *dev, struct ifreq *rq)
|
||||
{
|
||||
#ifdef CONFIG_COMPAT
|
||||
#ifdef in_compat_syscall
|
||||
if(in_compat_syscall())
|
||||
#else
|
||||
if(is_compat_task())
|
||||
#endif
|
||||
return rtw_ioctl_compat_wext_private( dev, rq );
|
||||
else
|
||||
#endif // CONFIG_COMPAT
|
||||
|
Reference in New Issue
Block a user