diff options
author | Jack Morgenstein <jackm@dev.mellanox.com> | 2013-06-25 12:09:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-25 16:29:38 -0700 |
commit | 6123db2ec529f1d1865298388e129a6aad2fae17 (patch) | |
tree | f6f6cbb7824d5b05a548cced4ef8173fe407d6cd /drivers/mfd/twl4030-power.c | |
parent | 8850494a33cc67bbf31d2e3ce630d0f4e14efa56 (diff) |
net/mlx4_en: Do not query stats when device port is down
There are no counters allocated to the eth device when the port is down, so
this query is meaningless at that time.
It also leads to querying incorrect counters (since the counter_index is not
valid when the device port is down).
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mfd/twl4030-power.c')
0 files changed, 0 insertions, 0 deletions