diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-11-24 12:06:48 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-11-28 14:12:39 +0300 |
commit | 7642cc28fd37a15feacff0ccf0e5a8466630df5d (patch) | |
tree | 6b8720d29e1a0894f90ce2a5a82690493f572d72 /tools | |
parent | 9256db4e45e8b497b0e993cc3ed4ad08eb2389b6 (diff) | |
download | linux-7642cc28fd37a15feacff0ccf0e5a8466630df5d.tar.xz |
net: phylink: fix PHY validation with rate adaption
Tim Harvey reports that link modes which he does not expect to be
supported are being advertised, and this is because of the workaround
we have for PHYs that switch interface modes.
Fix this up by checking whether rate matching will be used for the
requested interface mode, and if rate matching will be used, perform
validation only with the requested interface mode, rather than invoking
this workaround.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions