]> 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)
commit6ed0026344fb3ed4fe8edb4bb871023287646fa8
treea543131b37db9c05b51fc8cf801dd69a36846c06
parentf6fa4789a951414f3f6b3f5ac68de17658a70ae3
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