mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2026-04-03 08:00:08 +00:00
fix for is_compat_task()
as seen and suggested by CGarces here https://github.com/CGarces/RTL8192EU-linux/issues/1#issuecomment-300795406
This commit is contained in:
@@ -14032,7 +14032,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
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0)
|
||||
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