commit | 0fb628f0f250c74b1023edd0ca4a57c8b35b9b2c | [log] [tgz] |
---|---|---|
author | Baruch Siach <baruch@tkos.co.il> | Tue Dec 04 16:03:53 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 04 21:17:15 2018 -0800 |
tree | ecea9421512b082b4d88a24d4f3d04508b0c9a17 | |
parent | 01b3fd5ac97caffb8e5d5bd85086da33db3b361f [diff] |
net: mvpp2: fix phylink handling of invalid PHY modes The .validate phylink callback should empty the supported bitmap when the interface mode is invalid. Cc: Maxime Chevallier <maxime.chevallier@bootlin.com> Cc: Antoine Tenart <antoine.tenart@bootlin.com> Reported-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>