diff options
Diffstat (limited to 'drivers/net/arm/at91_ether.c')
-rw-r--r-- | drivers/net/arm/at91_ether.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/arm/at91_ether.c b/drivers/net/arm/at91_ether.c index 25b114a4e2b1..0ae0d83e5d22 100644 --- a/drivers/net/arm/at91_ether.c +++ b/drivers/net/arm/at91_ether.c | |||
@@ -384,7 +384,7 @@ static void reset_phy(struct net_device *dev) | |||
384 | /* Wait until PHY reset is complete */ | 384 | /* Wait until PHY reset is complete */ |
385 | do { | 385 | do { |
386 | read_phy(lp->phy_address, MII_BMCR, &bmcr); | 386 | read_phy(lp->phy_address, MII_BMCR, &bmcr); |
387 | } while (!(bmcr && BMCR_RESET)); | 387 | } while (!(bmcr & BMCR_RESET)); |
388 | 388 | ||
389 | disable_mdi(); | 389 | disable_mdi(); |
390 | spin_unlock_irq(&lp->lock); | 390 | spin_unlock_irq(&lp->lock); |