diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-05-30 16:21:51 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-31 13:52:16 -0400 |
commit | 898805e0cdf7fd860ec21bf661d3a0285a3defbd (patch) | |
tree | e9624ac2fb94db32d7a1dfdc70fcb5ef90190242 /tools | |
parent | 15e5651525c2e580a523568ed207e4a3fb11cc33 (diff) |
net: phy: fix marvell phy status reading
The Marvell driver incorrectly provides phydev->lp_advertising as the
logical and of the link partner's advert and our advert. This is
incorrect - this field is supposed to store the link parter's unmodified
advertisment.
This allows ethtool to report the correct link partner auto-negotiation
status.
Fixes: be937f1f89ca ("Marvell PHY m88e1111 driver fix")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions