aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorDavid Kershner <david.kershner@unisys.com>2015-09-04 12:01:30 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-13 09:43:40 -0700
commitf6b6a8ec9a3bcba8cc9a9c302b514cf3848e7d35 (patch)
treefe09b256285bb5308dfeef17b55abce244fb1652 /drivers/fpga/fpga-mgr.c
parent5b12100a53c11ef760e78c2899be8f1bf33812ca (diff)
downloadlinux-f6b6a8ec9a3bcba8cc9a9c302b514cf3848e7d35.tar.gz
linux-f6b6a8ec9a3bcba8cc9a9c302b514cf3848e7d35.tar.bz2
linux-f6b6a8ec9a3bcba8cc9a9c302b514cf3848e7d35.zip
staging: unisys: visornic: Fix receive bytes statistics
The receive byte statistics was wrong in /proc/net/dev. Move the collection of statistics after the proper amount of bytes has been calculated and make sure you add it to rx_bytes instead of just replacing it. Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions