aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/sys/sysmacros.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-09-05 20:08:43 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-09-05 20:08:43 +0000
commitd8b2fef763050c6d5900845729d770545f51fbc6 (patch)
tree00591becff9ce0d30ce1c2e8696e066c4a90d042 /tools/include/sys/sysmacros.h
parent04c6143ca977a71c39dcf471f5a60d93890df649 (diff)
downloadupstream-d8b2fef763050c6d5900845729d770545f51fbc6.tar.gz
upstream-d8b2fef763050c6d5900845729d770545f51fbc6.tar.bz2
upstream-d8b2fef763050c6d5900845729d770545f51fbc6.zip
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> SVN-Revision: 33322
Diffstat (limited to 'tools/include/sys/sysmacros.h')
0 files changed, 0 insertions, 0 deletions