Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86436
b: refs/heads/master
c: 5bd3670
h: refs/heads/master
v: v3
  • Loading branch information
Scott Wood authored and Jeff Garzik committed Feb 24, 2008
1 parent 9ab754d commit b4b3b9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 21eee2dd1b5702f15924f18f923b2a281f0e72e8
refs/heads/master: 5bd3670f31f1c58f500e55c4cdbc243fb4b2e3df
7 changes: 1 addition & 6 deletions trunk/drivers/net/fs_enet/fs_enet-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -946,16 +946,11 @@ static int fs_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
{
struct fs_enet_private *fep = netdev_priv(dev);
struct mii_ioctl_data *mii = (struct mii_ioctl_data *)&rq->ifr_data;
unsigned long flags;
int rc;

if (!netif_running(dev))
return -EINVAL;

spin_lock_irqsave(&fep->lock, flags);
rc = phy_mii_ioctl(fep->phydev, mii, cmd);
spin_unlock_irqrestore(&fep->lock, flags);
return rc;
return phy_mii_ioctl(fep->phydev, mii, cmd);
}

extern int fs_mii_connect(struct net_device *dev);
Expand Down

0 comments on commit b4b3b9b

Please sign in to comment.