diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-08-24 16:38:39 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-26 04:55:19 +0300 |
commit | 76649fc93f097785e9b173950d0fbb1d7a9c4a76 (patch) | |
tree | 5797e4cd06038939f45ee5577a0441930d89f37a /scripts/gdb/linux/vmalloc.py | |
parent | 64961f1b8ca1c6f515478887db70cd0e88f47af4 (diff) | |
download | linux-76649fc93f097785e9b173950d0fbb1d7a9c4a76.tar.xz |
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) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/E1qZAXn-005pUb-SP@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions