qcacld-3.0: Do not send multicast addresses during system suspend
When the device is system suspended, do not send multicast addresses. Change-Id: Ie8ca0f50b4db2231190dbf9a9a1c088c0b84eceb CRs-Fixed: 2538963
This commit is contained in:
@@ -3993,6 +3993,11 @@ static void __hdd_set_multicast_list(struct net_device *dev)
|
||||
struct wlan_objmgr_psoc *psoc = hdd_ctx->psoc;
|
||||
int mc_count = 0;
|
||||
|
||||
if (hdd_ctx->hdd_wlan_suspended) {
|
||||
hdd_err_rl("Device is system suspended");
|
||||
return;
|
||||
}
|
||||
|
||||
hdd_enter_dev(dev);
|
||||
if (QDF_GLOBAL_FTM_MODE == hdd_get_conparam())
|
||||
goto out;
|
||||
|
Reference in New Issue
Block a user