net/fsl: fix a bug in xgmac_mdio
authorShaohui Xie <Shaohui.Xie@freescale.com>
Tue, 13 Jan 2015 02:30:31 +0000 (10:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jan 2015 21:43:29 +0000 (16:43 -0500)
There is a bug in xgmac_mdio_read when clear the bit MDIO_STAT_ENC,
which '&' is missed in 'mdio_stat &= ~MDIO_STAT_ENC'.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found