wlan: HDD: Removing mcastbcast filter check in the PMC callback
In suspend path there is no BMPS check, and host blindly sends
filtering request to FW and set flag hdd_mcastbcast_filter_set
to TRUE. Where as firmware discards this request if it is not
in BMPS. To fix this, removed hdd_mcastbcast_filter_set flag check
in PMC callback(hdd_PowerStateChangedCB).
CRs-fixed: 460560
Change-Id: I10638de71dcecca9228e593d7d7c4764517a37c0
diff --git a/CORE/HDD/src/wlan_hdd_early_suspend.c b/CORE/HDD/src/wlan_hdd_early_suspend.c
index 1972893..f357c7d 100644
--- a/CORE/HDD/src/wlan_hdd_early_suspend.c
+++ b/CORE/HDD/src/wlan_hdd_early_suspend.c
@@ -926,8 +926,7 @@
pHddCtx->hdd_ignore_dtim_enabled = TRUE;
}
spin_lock(&pHddCtx->filter_lock);
- if((newState == BMPS) && pHddCtx->hdd_wlan_suspended
- && (pHddCtx->hdd_mcastbcast_filter_set != TRUE)) {
+ if((newState == BMPS) && pHddCtx->hdd_wlan_suspended) {
spin_unlock(&pHddCtx->filter_lock);
hdd_conf_mcastbcast_filter(pHddCtx, TRUE);
if(pHddCtx->hdd_mcastbcast_filter_set != TRUE)