git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: phy: fix marvell phy status reading
[pandora-kernel.git]
/
drivers
/
net
/
phy
/
marvell.c
diff --git
a/drivers/net/phy/marvell.c
b/drivers/net/phy/marvell.c
index
e8b9c53
..
6c8b1f6
100644
(file)
--- a/
drivers/net/phy/marvell.c
+++ b/
drivers/net/phy/marvell.c
@@
-653,8
+653,6
@@
static int marvell_read_status(struct phy_device *phydev)
if (adv < 0)
return adv;
- lpa &= adv;
-
if (status & MII_M1011_PHY_STATUS_FULLDUPLEX)
phydev->duplex = DUPLEX_FULL;
else