Skip to content

Commit

Permalink
Staging: rt28x0: remove private RTPRIV_IOCTL_SET ioctl
Browse files Browse the repository at this point in the history
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent abf1794 commit 468d0c5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drivers/staging/rt2860/sta_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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;
Expand Down

0 comments on commit 468d0c5

Please sign in to comment.