summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/counter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/counter.c b/src/counter.c
index 5d286d46..ae165e4e 100644
--- a/src/counter.c
+++ b/src/counter.c
@@ -195,7 +195,7 @@ void __connman_counter_notify(const char *interface,
g_hash_table_replace(stats_table, stats->interface, stats);
update:
- if (stats->rx_bytes == rx_bytes && stats->rx_bytes == tx_bytes)
+ if (stats->rx_bytes == rx_bytes && stats->tx_bytes == tx_bytes)
return;
stats->rx_bytes = rx_bytes;