Sander Vanheule d6165ea75b realtek: fix egress L2 learning on rtl839x
The flag to enable L2 address learning on egress frames is in CPU header
bit 40, with bit 0 being the leftmost bit of the header. This
corresponds to BIT(7) in the third 16-bit value of the header.

Correctly set L2LEARNING by fixing the off-by-one error.

Fixes: 9eab76c84e31 ("realtek: Improve TX CPU-Tag usage")
Tested-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2022-07-17 10:06:40 +02:00
..
2022-06-29 23:38:47 +02:00
2022-06-27 00:57:15 +02:00
2022-06-27 00:57:15 +02:00
2022-06-27 00:57:16 +02:00
2022-06-27 00:57:15 +02:00
2022-06-27 00:57:15 +02:00
2022-07-01 16:26:51 +03:00
2022-07-11 00:50:18 +02:00