[qca-ssdk] fix s27 mib counter rx_unicast show issue.
fix s27 mib mib counter rx_unicast show issue
Change-Id: Ieddcc860830fd3780c6ec911ea891ed9d9326550
Signed-off-by: esong <song@codeaurora.org>
diff --git a/src/ref/ref_mib.c b/src/ref/ref_mib.c
index e4b99e8..6719a56 100755
--- a/src/ref/ref_mib.c
+++ b/src/ref/ref_mib.c
@@ -54,6 +54,7 @@
fal_mib_info_t mib_Info;
struct qca_phy_priv *priv = qca_phy_priv_get(dev);
+ memset(&mib_Info, 0, sizeof(mib_Info));
fal_get_mib_info(0, port, &mib_Info);
pos = port * QCA_MIB_ITEM_NUMBER;
priv->mib_counters[pos++] += mib_Info.RxBroad;