Merge "qcwcn: Ignore IFACE_NUM_PEERS in LL_STATS_TYPE_IFACE event" into wlan-aosp.lnx.13.0
diff --git a/qcwcn/wifi_hal/llstats.cpp b/qcwcn/wifi_hal/llstats.cpp
index 2b3b325..728fac4 100644
--- a/qcwcn/wifi_hal/llstats.cpp
+++ b/qcwcn/wifi_hal/llstats.cpp
@@ -1091,24 +1091,6 @@
                     {
                         goto cleanup;
                     }
-
-                    /* Driver/firmware might send this attribute when there
-                     * are no peers connected.
-                     * So that, the event
-                     * QCA_NL80211_VENDOR_SUBCMD_LL_STATS_TYPE_PEERS can be
-                     * avoided.
-                     */
-                    if (tb_vendor[
-                        QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_NUM_PEERS])
-                    {
-                        mResultsParams.iface_stat->num_peers =
-                            nla_get_u32(tb_vendor[
-                                QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_NUM_PEERS]);
-#ifdef QC_HAL_DEBUG
-                        ALOGV("%s: numPeers is %u\n", __FUNCTION__,
-                                mResultsParams.iface_stat->num_peers);
-#endif
-                    }
                 }
                 break;