Fix typo with RX versus TX stats
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 5 Jan 2010 15:32:56 +0000 (07:32 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 5 Jan 2010 15:32:56 +0000 (07:32 -0800)
src/counter.c

index 5d286d4..ae165e4 100644 (file)
@@ -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;