[8.09] prevent console from being flooded with mii_check_media printing the link...
authorFlorian Fainelli <florian@openwrt.org>
Sun, 24 May 2009 18:45:36 +0000 (18:45 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 24 May 2009 18:45:36 +0000 (18:45 +0000)
SVN-Revision: 16036

target/linux/rdc/files/drivers/net/r6040.c

index 65db87c7ef90f6d6ad828f097a084f14fcd24aad..f9527db6c13bf3bdf34ab0569abc4d2e8d01c0e1 100644 (file)
@@ -528,7 +528,7 @@ static int r6040_phy_mode_chk(struct net_device *dev)
                        phy_dat = 0x0000;
        }
 
-       mii_check_media(&lp->mii_if, 1, 1);
+       mii_check_media(&lp->mii_if, 0, 1);
 
        return phy_dat;
 };