mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Sync the count of filter entries in multicast to adapter
The count of multicast filter entries recorded in adapter is not updated when uplayer delete multicast filter from IP table. It causes FW can't receive the WMI command which was used to delete multicast filter. Change-Id: If1af16048e4a4f69673c4294d846b36e77bbcb5d CRs-Fixed: 2349236
This commit is contained in:
parent
ec7a31d889
commit
df2bdfdd24
1 changed files with 2 additions and 0 deletions
|
|
@ -3598,6 +3598,7 @@ static void __hdd_set_multicast_list(struct net_device *dev)
|
|||
ucfg_pmo_max_mc_addr_supported(psoc));
|
||||
hdd_disable_and_flush_mc_addr_list(adapter,
|
||||
pmo_mc_list_change_notify);
|
||||
adapter->mc_addr_list.mc_cnt = 0;
|
||||
goto free_req;
|
||||
}
|
||||
netdev_for_each_mc_addr(ha, dev) {
|
||||
|
|
@ -3615,6 +3616,7 @@ static void __hdd_set_multicast_list(struct net_device *dev)
|
|||
}
|
||||
}
|
||||
|
||||
adapter->mc_addr_list.mc_cnt = mc_count;
|
||||
mc_list_request->psoc = psoc;
|
||||
mc_list_request->vdev_id = adapter->session_id;
|
||||
mc_list_request->count = mc_count;
|
||||
|
|
|
|||
Loading…
Reference in a new issue