]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2019 18:43:24 +0000 (11:43 -0700)
commit3699a03840e3f069412b0e47170288d6912b6e3d
treea543131b37db9c05b51fc8cf801dd69a36846c06
parent73b505b3b7e4b0427fbcf9b21ca1f1302d09f8b3
net: phylink: avoid reducing support mask

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>
drivers/net/phy/phylink.c