openwrt/target/linux/ramips/files
Gabor Juhos d8b2fef763 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
2012-09-05 20:08:43 +00:00
..
arch/mips ramips: make built-in switch transparent for ALL0256N and ALL5002 2012-08-29 10:37:47 +00:00
drivers ramips: Add missing andmask to ramips_esw register read for recv_good value. 2012-09-05 20:08:43 +00:00