qcacld-3.0: Clear current MC address list before configuring new list
Presently, on receiving new MC address list, Host is just updating MC address list and sending same to FW, without clearing previously configured MC address list. This may lead to MC address list not to be cleanly configured in FW. Before configuring new address, clear previously configured MC address list. Change-Id: Ia0c79099d248c3d992b9fa420d46c1464229b03a CRs-Fixed: 2009368
This commit is contained in:
parent
19d322b907
commit
ca84ec5a44
@ -2636,6 +2636,13 @@ static void __hdd_set_multicast_list(struct net_device *dev)
|
||||
goto out;
|
||||
}
|
||||
|
||||
/* Delete already configured multicast address list */
|
||||
if (adapter->mc_addr_list.mc_cnt > 0) {
|
||||
hdd_info("clear previously configured MC address list");
|
||||
hdd_disable_and_flush_mc_addr_list(adapter,
|
||||
pmo_mc_list_change_notify);
|
||||
}
|
||||
|
||||
if (dev->flags & IFF_ALLMULTI) {
|
||||
hdd_debug("allow all multicast frames");
|
||||
hdd_disable_and_flush_mc_addr_list(adapter,
|
||||
|
Loading…
Reference in New Issue
Block a user