From dcb632330dc3ba045aac45ac2bc2dbd89db6b22d Mon Sep 17 00:00:00 2001 From: "Edhar, Mahesh Kumar" Date: Thu, 12 Feb 2015 11:08:33 +0530 Subject: CLD: Logging improvement in Mcast/Bcast Filtering Add Logging Message to display Success/Failure status in Mcast/Bcast configuration Change-Id: If973a3d4e71b7d27dc04b7958fbe5b5dae5c21e2 CRs-Fixed: 794844 --- CORE/HDD/src/wlan_hdd_early_suspend.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/CORE/HDD/src/wlan_hdd_early_suspend.c b/CORE/HDD/src/wlan_hdd_early_suspend.c index 8be74e047da8..00e161b2c428 100644 --- a/CORE/HDD/src/wlan_hdd_early_suspend.c +++ b/CORE/HDD/src/wlan_hdd_early_suspend.c @@ -1223,10 +1223,20 @@ void hdd_conf_mcastbcast_filter(hdd_context_t* pHddCtx, v_BOOL_t setfilter) 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, -- cgit v1.2.3