Fixed statistics filter initialisation. stable-1.5
authorFlorian Pose <fp@igh.de>
Thu, 12 Oct 2017 13:22:06 +0200
branchstable-1.5
changeset 2688 adcbb2ad12e3
parent 2687 ac94c7ec73e6
child 2689 61c7f0681247
Fixed statistics filter initialisation.
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;
 }
 
 /*****************************************************************************/