diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-04-05 21:23:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-08 15:18:00 -0700 |
commit | 3b8b11f96616c2e763ebcc093b778b309fc07a92 (patch) | |
tree | 40d5b903637dd7da005a08448c67a83df4379ef9 /net/ipv6/addrconf_core.c | |
parent | 8bb309e67f5722b32aa28121c9ad95c10b6801be (diff) |
net: phy: improve link partner capability detection
genphy_read_status() so far checks phydev->supported, not the actual
PHY capabilities. This can make a difference if the supported speeds
have been limited by of_set_phy_supported() or phy_set_max_speed().
It seems that this issue only affects the link partner advertisements
as displayed by ethtool. Also this patch wouldn't apply to older
kernels because linkmode bitmaps have been introduced recently.
Therefore net-next.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf_core.c')
0 files changed, 0 insertions, 0 deletions