mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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:
parent
cf1ff1558a
commit
e825c3b4fc
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue