diff options
author | Russell King (Oracle) <[email protected]> | 2023-08-24 14:38:39 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-08-25 18:55:19 -0700 |
commit | 76649fc93f097785e9b173950d0fbb1d7a9c4a76 (patch) | |
tree | 5797e4cd06038939f45ee5577a0441930d89f37a /tools/perf/scripts/python | |
parent | 64961f1b8ca1c6f515478887db70cd0e88f47af4 (diff) |
net: stmmac: convert half-duplex support to positive logic
Rather than detecting when half-duplex is not supported, and clearing
the MAC capabilities, reverse the if() condition and use it to set the
capabilities instead.
Signed-off-by: Russell King (Oracle) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions