diff options
author | Mike Ditto <mditto@google.com> | 2010-07-26 08:54:28 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-26 08:54:28 +0400 |
commit | 7b5e078cf04ea5b8b7ccffaf9a3607097f5c2359 (patch) | |
tree | 77b0aff56780511d9e874655957e25d5624107c3 /net/netlink | |
parent | 1f4b16128439b225c2986f06d015c848c290d7d9 (diff) | |
download | linux-7b5e078cf04ea5b8b7ccffaf9a3607097f5c2359.tar.xz |
forcedeth: Fix different hardware statistics versions.
The macros for the values of the bit field describing the four
different versions of statistics supported by different hardware
variants were being misused. Where the code was trying to test if the
hardware implements V3, it was actually testing whether it implements
any of V1, V2, or V3, causing the driver to report statistics that
don't really exist in the hardware, with bogus values.
Signed-off-by: Mike Ditto <mditto@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions