aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/redboot-script.pl
diff options
context:
space:
mode:
authorSander Vanheule <sander@svanheule.net>2022-06-28 21:15:00 +0200
committerSander Vanheule <sander@svanheule.net>2022-07-21 20:59:51 +0200
commit4da0b5a786ca4817c0608881c957f5023b9eb72b (patch)
treeef0dd744564a110e3fdf5320a86bf28ef8ee0680 /scripts/redboot-script.pl
parent8614b8eb5f465742343a2b16ebc1a980b20e33d0 (diff)
downloadupstream-4da0b5a786ca4817c0608881c957f5023b9eb72b.tar.gz
upstream-4da0b5a786ca4817c0608881c957f5023b9eb72b.tar.bz2
upstream-4da0b5a786ca4817c0608881c957f5023b9eb72b.zip
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> (cherry picked from commit d6165ea75baea4f9039f3a378d55219c74b932a7)
Diffstat (limited to 'scripts/redboot-script.pl')
0 files changed, 0 insertions, 0 deletions