aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-10-21 22:44:05 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 12:23:11 -0800
commit468d0c507b9c11a2e3ae95ff149eb551d05be8b9 (patch)
tree218ff0ad24f51354c12682bd90c436a0dbb848da /drivers
parentabf1794e698d9bbdade846ef6ffd23b247cfb59f (diff)
Staging: rt28x0: remove private RTPRIV_IOCTL_SET ioctl
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rt2860/sta_ioctl.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/staging/rt2860/sta_ioctl.c b/drivers/staging/rt2860/sta_ioctl.c
index e5e29428410..b6ba561bfb5 100644
--- a/drivers/staging/rt2860/sta_ioctl.c
+++ b/drivers/staging/rt2860/sta_ioctl.c
@@ -2978,6 +2978,7 @@ INT rt28xx_sta_ioctl(
case SIOCSIWRETRY: //set retry limits and lifetime
case RT_PRIV_IOCTL:
case RT_PRIV_IOCTL_EXT:
+ case RTPRIV_IOCTL_SET:
Status = -EOPNOTSUPP;
break;
case SIOCGIWPRIV:
@@ -2990,11 +2991,6 @@ INT rt28xx_sta_ioctl(
Status = -EFAULT;
}
break;
- case RTPRIV_IOCTL_SET:
- if(access_ok(VERIFY_READ, wrq->u.data.pointer, wrq->u.data.length) != TRUE)
- break;
- rt_ioctl_setparam(net_dev, NULL, NULL, wrq->u.data.pointer);
- break;
case RTPRIV_IOCTL_GSITESURVEY:
RTMPIoctlGetSiteSurvey(pAd, wrq);
break;