prima: Logging improvement in Mcast/Bcast Filtering
Add Logging Message to display Success/Failure status in Mcast/Bcast
configuration.
Change-Id: Ieba4e9bb3ac2293ca64cd189d9d7479a08cc012d
CRs-Fixed: 783670
diff --git a/CORE/HDD/src/wlan_hdd_early_suspend.c b/CORE/HDD/src/wlan_hdd_early_suspend.c
index 61abdbf..0515017 100644
--- a/CORE/HDD/src/wlan_hdd_early_suspend.c
+++ b/CORE/HDD/src/wlan_hdd_early_suspend.c
@@ -1196,10 +1196,20 @@
wlanRxpFilterParam->setMcstBcstFilter = setfilter;
halStatus = sme_ConfigureRxpFilter(pHddCtx->hHal, wlanRxpFilterParam);
+
+ if (setfilter && (eHAL_STATUS_SUCCESS == halStatus))
+ pHddCtx->hdd_mcastbcast_filter_set = TRUE;
+
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s to post set/reset filter to"
+ "lower mac with status %d"
+ "configuredMcstBcstFilterSetting = %d"
+ "setMcstBcstFilter = %d",(eHAL_STATUS_SUCCESS != halStatus) ?
+ "Failed" : "Success", halStatus,
+ wlanRxpFilterParam->configuredMcstBcstFilterSetting,
+ wlanRxpFilterParam->setMcstBcstFilter);
+
if (eHAL_STATUS_SUCCESS != halStatus)
vos_mem_free(wlanRxpFilterParam);
- if(setfilter && (eHAL_STATUS_SUCCESS == halStatus))
- pHddCtx->hdd_mcastbcast_filter_set = TRUE;
}
static void hdd_conf_suspend_ind(hdd_context_t* pHddCtx,