Florian Fainelli db4600aa93 net: phy: broadcom: Only advertise EEE for supported modes
[ Upstream commit c056d480b40a68f2520ccc156c7fae672d69d57d ]

We should not be advertising EEE for modes that we do not support,
correct that oversight by looking at the PHY device supported linkmodes.

Fixes: 99cec8a4dda2 ("net: phy: broadcom: Allow enabling or disabling of EEE")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-04-14 08:24:15 +02:00
..
2019-08-02 17:56:28 -07:00
2020-03-21 08:11:53 +01:00
2019-10-04 18:11:08 -07:00
2020-11-10 12:37:26 +01:00