diff options
| author | c_hpothu <c_hpothu@qti.qualcomm.com> | 2015-03-11 14:26:44 +0530 |
|---|---|---|
| committer | Pitani Venkata Rajesh Kumar <c_vpitan@qti.qualcomm.com> | 2015-03-16 17:56:10 +0530 |
| commit | b2ae4b04c9e28681ad42e35dcf7665a18f8476ed (patch) | |
| tree | 1624ac8b81568e53f2968b817eb4ded9f17e9cc6 | |
| parent | 29482f6e963588fc4c55cf3c33241d9fbe39abda (diff) | |
wlan: set MC/BC filters appropriately
While updating MC/BC filters dynamically, update
'sus_res_mcastbcast_filter' variable accordingly.
Change-Id: I8be932699044e316fc2964687c19befbfa1d678f
CRs-Fixed: 806128
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_wext.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_wext.c b/CORE/HDD/src/wlan_hdd_wext.c index e0a53992dd4a..e3390fa36b75 100644 --- a/CORE/HDD/src/wlan_hdd_wext.c +++ b/CORE/HDD/src/wlan_hdd_wext.c @@ -8574,6 +8574,11 @@ static int __iw_set_dynamic_mcbc_filter(struct net_device *dev, return -EINVAL; } + if (VOS_TRUE == pHddCtx->sus_res_mcastbcast_filter_valid) + { + pHddCtx->sus_res_mcastbcast_filter = + pRequest->mcastBcastFilterSetting; + } } } @@ -8636,6 +8641,12 @@ static int __iw_clear_dynamic_mcbc_filter(struct net_device *dev, vos_mem_free(wlanRxpFilterParam); return -EINVAL; } + + if (VOS_TRUE == pHddCtx->sus_res_mcastbcast_filter_valid) + { + pHddCtx->sus_res_mcastbcast_filter = + pHddCtx->cfg_ini->mcastBcastFilterSetting; + } } return 0; } |
