summaryrefslogtreecommitdiff
path: root/src/counter.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-01-05 07:32:56 -0800
committerMarcel Holtmann <marcel@holtmann.org>2010-01-05 07:32:56 -0800
commitd4a67c5eafbd2ba90f146bb5c3942d9d6d130371 (patch)
tree56f97d7f2241c285041268a5c519ce896eeccfec /src/counter.c
parent768862d982e091d469d69cfa996ae8a41401a1f5 (diff)
downloadconnman-d4a67c5eafbd2ba90f146bb5c3942d9d6d130371.tar.gz
connman-d4a67c5eafbd2ba90f146bb5c3942d9d6d130371.tar.bz2
connman-d4a67c5eafbd2ba90f146bb5c3942d9d6d130371.zip
Fix typo with RX versus TX stats
Diffstat (limited to 'src/counter.c')
-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;