1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-23 21:33:15 +03:00
openwrt-xburst/target/linux/ramips/files/drivers/net
juhosg dddb52eedf 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
2012-09-05 20:08:43 +00:00
..
ethernet/ramips ramips: Add missing andmask to ramips_esw register read for recv_good value. 2012-09-05 20:08:43 +00:00