miidev_wait_aneg() polled the wrong bit, so link detection did fail on boards where the PHY had to come out of a powerdown mode. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>