diff options
author | Christophe JAILLET <[email protected]> | 2023-04-17 20:19:33 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-04-19 11:28:49 -0700 |
commit | 3d2f8f1f184c60508f7af3022536651d7ac2dd07 (patch) | |
tree | 086636296a1d5e87eba16b6c42c036aef0b514c6 /scripts/gdb/linux/config.py | |
parent | fcd4843a19d50f9e59116b2643e1a7d171b6fca1 (diff) |
net: dsa: microchip: ksz8795: Correctly handle huge frame configuration
Because of the logic in place, SW_HUGE_PACKET can never be set.
(If the first condition is true, then the 2nd one is also true, but is not
executed)
Change the logic and update each bit individually.
Fixes: 29d1e85f45e0 ("net: dsa: microchip: ksz8: add MTU configuration support")
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Oleksij Rempel <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Link: https://lore.kernel.org/r/43107d9e8b5b8b05f0cbd4e1f47a2bb88c8747b2.1681755535.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions