|
@@ -2952,7 +2952,7 @@ int hdd_priv_get_data(struct iw_point *p_priv_data, union iwreq_data *wrqu)
|
|
|
return -EINVAL;
|
|
|
|
|
|
#ifdef CONFIG_COMPAT
|
|
|
- if (is_compat_task()) {
|
|
|
+ if (in_compat_syscall()) {
|
|
|
struct compat_iw_point *p_compat_priv_data;
|
|
|
|
|
|
/* Compat task:
|
|
@@ -6979,7 +6979,7 @@ static int __iw_setnone_getnone(struct net_device *dev,
|
|
|
* compat support in the kernel does not handle this case. so we
|
|
|
* need to explicitly handle it here.
|
|
|
*/
|
|
|
- if (is_compat_task()) {
|
|
|
+ if (in_compat_syscall()) {
|
|
|
struct compat_iw_point *compat_iw_point =
|
|
|
(struct compat_iw_point *)&wrqu->data;
|
|
|
sub_cmd = compat_iw_point->flags;
|