diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-09-05 20:08:43 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-09-05 20:08:43 +0000 |
commit | dddb52eedf108ca37e997ed0da29f2b79b1bb859 (patch) | |
tree | 696754cf6818f5b3cbedcd6fa80491170caf8c89 /package/mtd | |
parent | 07073dcb279d594ec5c2e5100152e3e5138c7341 (diff) |
ramips: Add missing andmask to ramips_esw register read for recv_good value.
Add missing andmask to ramips_esw register read for recv_good value.
Without the mask, recv_bad leaks into the recv_good packet count.
Didn't notice the bug before since you don't usually get bad
packets, so I only saw it when I was playing with overlength packets
earlier...
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33322 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mtd')
0 files changed, 0 insertions, 0 deletions