diff options
| -rw-r--r-- | drivers/net/8139too.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/8139too.c b/drivers/net/8139too.c index b8df6899461c..1b412930f557 100644 --- a/drivers/net/8139too.c +++ b/drivers/net/8139too.c @@ -2329,7 +2329,7 @@ static int netdev_ioctl (struct net_device *dev, struct ifreq *rq, int cmd) if (cmd != SIOCETHTOOL) { /* With SIOCETHTOOL, this would corrupt the pointer. */ - data->phy_id &= 0x1f; + data->phy_id &= 0x3f; data->reg_num &= 0x1f; } |
