realtek: fix RTL839x egress tag for ports >= 32
authorJan Hoffmann <jan@3e8.eu>
Sun, 25 Sep 2022 12:32:31 +0000 (14:32 +0200)
committerSander Vanheule <sander@svanheule.net>
Sun, 25 Sep 2022 18:53:24 +0000 (20:53 +0200)
commitd924a75be360dfddc69cd8dedd2fc88aa19598a1
tree5290adb4cc592d767802ff5ef07bfd858d856d90
parent6e9613844ca1ddea7e36abc44a513c89ef0598ff
realtek: fix RTL839x egress tag for ports >= 32

Don't overwrite AS_DPM and L2LEARNING flags when dest_port is >= 32.

Fixes: 1773264a0c6d ("realtek: correct egress frame port verification")
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
target/linux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.c