diff options
| -rw-r--r-- | drivers/net/tehuti.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tehuti.c b/drivers/net/tehuti.c index e83b166aa6b9..432e837a1760 100644 --- a/drivers/net/tehuti.c +++ b/drivers/net/tehuti.c | |||
| @@ -649,7 +649,7 @@ static int bdx_ioctl_priv(struct net_device *ndev, struct ifreq *ifr, int cmd) | |||
| 649 | DBG("%d 0x%x 0x%x\n", data[0], data[1], data[2]); | 649 | DBG("%d 0x%x 0x%x\n", data[0], data[1], data[2]); |
| 650 | } | 650 | } |
| 651 | 651 | ||
| 652 | if (!capable(CAP_NET_ADMIN)) | 652 | if (!capable(CAP_SYS_RAWIO)) |
| 653 | return -EPERM; | 653 | return -EPERM; |
| 654 | 654 | ||
| 655 | switch (data[0]) { | 655 | switch (data[0]) { |
