aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tlan.c')
-rw-r--r--drivers/net/tlan.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/tlan.c b/drivers/net/tlan.c
index 49e273bceed6..3d31b47332bb 100644
--- a/drivers/net/tlan.c
+++ b/drivers/net/tlan.c
@@ -1004,8 +1004,6 @@ static int TLan_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
1004 1004
1005 1005
1006 case SIOCSMIIREG: /* Write MII PHY register. */ 1006 case SIOCSMIIREG: /* Write MII PHY register. */
1007 if (!capable(CAP_NET_ADMIN))
1008 return -EPERM;
1009 TLan_MiiWriteReg(dev, data->phy_id & 0x1f, 1007 TLan_MiiWriteReg(dev, data->phy_id & 0x1f,
1010 data->reg_num & 0x1f, data->val_in); 1008 data->reg_num & 0x1f, data->val_in);
1011 return 0; 1009 return 0;