diff options
author | Antoine Tenart <antoine.tenart@bootlin.com> | 2018-12-19 18:00:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-19 16:38:35 -0800 |
commit | 1b451fb2051b464b9758c09a3492104403252e2b (patch) | |
tree | 187236ce0f32116cb693bbc15cbfde71d94347d8 /net | |
parent | net/sched: cls_flower: Remove old entries from rhashtable (diff) | |
download | linux-dev-1b451fb2051b464b9758c09a3492104403252e2b.tar.xz linux-dev-1b451fb2051b464b9758c09a3492104403252e2b.zip |
net: mvpp2: fix the phylink mode validation
The mvpp2_phylink_validate() sets all modes that are supported by a
given PPv2 port. An mistake made the 10000baseT_Full mode being
advertised in some cases when a port wasn't configured to perform at
10G. This patch fixes this.
Fixes: d97c9f4ab000 ("net: mvpp2: 1000baseX support")
Reported-by: Russell King <linux@armlinux.org.uk>
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions