# HG changeset patch # User Florian Pose # Date 1507807326 -7200 # Node ID adcbb2ad12e386ba16ff7d603ca833bdc9a347e7 # Parent ac94c7ec73e62339aac0e3d777d459bfe19d7d43 Fixed statistics filter initialisation. diff -r ac94c7ec73e6 -r adcbb2ad12e3 master/master.c --- a/master/master.c Thu Oct 12 13:09:52 2017 +0200 +++ b/master/master.c Thu Oct 12 13:22:06 2017 +0200 @@ -1305,9 +1305,13 @@ for (i = 0; i < EC_RATE_COUNT; i++) { master->device_stats.tx_frame_rates[i] = 0; + master->device_stats.rx_frame_rates[i] = 0; master->device_stats.tx_byte_rates[i] = 0; + master->device_stats.rx_byte_rates[i] = 0; master->device_stats.loss_rates[i] = 0; } + + master->device_stats.jiffies = 0; } /*****************************************************************************/