[VOL-1635] [BAL3.0 Bridade] OLT Activation [VOL-1636] [BAL3.0 Bridade] ONU Discovery, This OpenOLT agent supports the BAL V3.0.3.3 SDK. OLT/ONU activation from voltha-1.7 is successful
Change-Id: I860b31317172139cd4c4244a93e79e0c3ce4fdf8
diff --git a/agent/src/stats_collection.cc b/agent/src/stats_collection.cc
index e2b3d09..515eb32 100644
--- a/agent/src/stats_collection.cc
+++ b/agent/src/stats_collection.cc
@@ -153,10 +153,10 @@
{
bcmolt_onu_key key;
key.pon_ni = (bcmolt_interface)intf_ref.intf_id;
+ BCMOLT_STAT_INIT(&pon_stats, onu, itu_pon_stats, key);
BCMOLT_MSG_FIELD_GET(&pon_stats, rx_bytes);
BCMOLT_MSG_FIELD_GET(&pon_stats, rx_packets);
BCMOLT_MSG_FIELD_GET(&pon_stats, tx_bytes);
- BCMOLT_STAT_INIT(&pon_stats, onu, itu_pon_stats, key);
/* call API */
err = bcmolt_stat_get((bcmolt_oltid)device_id, &pon_stats.hdr, clear_on_read);