diff options
Diffstat (limited to 'drivers/net/usb/smsc95xx.c')
-rw-r--r-- | drivers/net/usb/smsc95xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c index b374a9997908..f74f3ce71526 100644 --- a/drivers/net/usb/smsc95xx.c +++ b/drivers/net/usb/smsc95xx.c | |||
@@ -690,7 +690,7 @@ static int smsc95xx_phy_initialize(struct usbnet *dev) | |||
690 | msleep(10); | 690 | msleep(10); |
691 | bmcr = smsc95xx_mdio_read(dev->net, dev->mii.phy_id, MII_BMCR); | 691 | bmcr = smsc95xx_mdio_read(dev->net, dev->mii.phy_id, MII_BMCR); |
692 | timeout++; | 692 | timeout++; |
693 | } while ((bmcr & MII_BMCR) && (timeout < 100)); | 693 | } while ((bmcr & BMCR_RESET) && (timeout < 100)); |
694 | 694 | ||
695 | if (timeout >= 100) { | 695 | if (timeout >= 100) { |
696 | netdev_warn(dev->net, "timeout on PHY Reset"); | 696 | netdev_warn(dev->net, "timeout on PHY Reset"); |