commit | d3351931a37bdb329b5ea761424579fa91c866ee | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Wed Dec 05 21:49:43 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 05 16:26:16 2018 -0800 |
tree | af767f26f2e84bb473d54359a5b62a26102737f9 | |
parent | ab9cb729ab0d4151f7ba76dd3ff592242a694754 [diff] |
net: mii: Add mii_lpa_mod_linkmode_lpa_t Add a _mod_ variant of mii_lpa_to_linkmode_lpa_t. Use this to fix the genphy_read_status() where the 1G link partner features are getting lost. Fixes: c0ec3c273677 ("net: phy: Convert u32 phydev->lp_advertising to linkmode") Reported-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>