aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/prism54/isl_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/prism54/isl_ioctl.c b/drivers/net/wireless/prism54/isl_ioctl.c
index 77cd65db8500..d97a2caf582b 100644
--- a/drivers/net/wireless/prism54/isl_ioctl.c
+++ b/drivers/net/wireless/prism54/isl_ioctl.c
@@ -3234,7 +3234,7 @@ prism54_ioctl(struct net_device *ndev, struct ifreq *rq, int cmd)
3234 switch (cmd) { 3234 switch (cmd) {
3235 case PRISM54_HOSTAPD: 3235 case PRISM54_HOSTAPD:
3236 if (!capable(CAP_NET_ADMIN)) 3236 if (!capable(CAP_NET_ADMIN))
3237 return -EPERM; 3237 return -EPERM;
3238 ret = prism54_hostapd(ndev, &wrq->u.data); 3238 ret = prism54_hostapd(ndev, &wrq->u.data);
3239 return ret; 3239 return ret;
3240 } 3240 }