From: Cyril Lacoux Date: Mon, 19 Nov 2012 12:02:30 +0000 Subject: Allow normal users to send ioctl requests Origin: https://bugs.debian.org/672677 --- amd64/src/wl/sys/wl_linux.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/amd64/src/wl/sys/wl_linux.c b/amd64/src/wl/sys/wl_linux.c index 947cef3..23d71c6 100644 --- a/amd64/src/wl/sys/wl_linux.c +++ b/amd64/src/wl/sys/wl_linux.c @@ -1659,11 +1659,7 @@ wl_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) } WL_LOCK(wl); - if (!capable(CAP_NET_ADMIN)) { - bcmerror = BCME_EPERM; - } else { - bcmerror = wlc_ioctl(wl->wlc, ioc.cmd, buf, ioc.len, wlif->wlcif); - } + bcmerror = wlc_ioctl(wl->wlc, ioc.cmd, buf, ioc.len, wlif->wlcif); WL_UNLOCK(wl); done1: