Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8e1eb5c authored by Kiet Lam's avatar Kiet Lam
Browse files

wlan: Fix for the Multicast packet filter failure at P2P CLI interface

Check the sus_res_mcastbcast_filter value instead of
configuredMcastBcastFilter value so in STA & P2P CLI concurrency
case host will configure Multicast packet filter for both interface

Change-Id: Ifcf4290f6b1c16b5dbcf6cc47f9de9c2dc3c2e6b
CRs-Fixed: 564981
parent 026433f6
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -648,10 +648,11 @@ void hdd_conf_ns_offload(hdd_adapter_t *pAdapter, v_BOOL_t fenable)
                    hddLog (VOS_TRACE_LEVEL_INFO,
                    "configuredMcastBcastFilter: %d",pHddCtx->configuredMcastBcastFilter);

                    if((HDD_MCASTBCASTFILTER_FILTER_ALL_MULTICAST ==
                              pHddCtx->configuredMcastBcastFilter) ||
                    if ((VOS_TRUE == pHddCtx->sus_res_mcastbcast_filter_valid)
                       && ((HDD_MCASTBCASTFILTER_FILTER_ALL_MULTICAST ==
                          pHddCtx->sus_res_mcastbcast_filter) ||
                          (HDD_MCASTBCASTFILTER_FILTER_ALL_MULTICAST_BROADCAST ==
                        pHddCtx->configuredMcastBcastFilter))
                          pHddCtx->sus_res_mcastbcast_filter)))
                    {
                        hddLog (VOS_TRACE_LEVEL_INFO,
                        "Set offLoadRequest with SIR_OFFLOAD_NS_AND_MCAST_FILTER_ENABLE \n", __func__);