Commit 468d0c50 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Greg Kroah-Hartman

Staging: rt28x0: remove private RTPRIV_IOCTL_SET ioctl

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent abf1794e
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment