]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: phylink: avoid reducing support mask
authorRussell King <rmk+kernel@armlinux.org.uk>
Sun, 2 Jun 2019 14:12:54 +0000 (15:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jun 2019 03:34:51 +0000 (11:34 +0800)
commitf193786d78af356cfff0a5dd478c2a0e81ca3a1c
treed6167800ab1026eda5d0c2e344fb3ec3a6f062aa
parentf743ff59ea4586f0603c9db2f39177a18fe45047
net: phylink: avoid reducing support mask

[ Upstream commit 77316763321ee4050f0576ffd472183aa90dcb30 ]

Avoid reducing the support mask as a result of the interface type
selected for SFP modules, or when setting the link settings through
ethtool - this should only change when the supported link modes of
the hardware combination change.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/phy/phylink.c