qcacld-3.0: Do not Update MC list in ftm mode

qcacld-2.0 to qcacld-3.0 propagation

Host should avoid to Update MC list in ftm mode because
as a part of MC list updation, host will access the
pMac roam sessions, as these sessions are not initialized
in FTM mode which lead to Null data access.

Change-Id: I2ac82e76c1c7de8d1bf0fd7e291bf5445e9d0f4b
CRs-fixed: 897871
This commit is contained in:
Mukul Sharma
2015-10-30 19:30:19 +05:30
committed by Prakash Dhavali
parent 910bb98ca8
commit 531361dfea

View File

@@ -1607,6 +1607,9 @@ static void __hdd_set_multicast_list(struct net_device *dev)
static const uint8_t ipv6_router_solicitation[]
= {0x33, 0x33, 0x00, 0x00, 0x00, 0x02};
if (CDF_FTM_MODE == hdd_get_conparam())
return;
status = wlan_hdd_validate_context(hdd_ctx);
if (0 != status) {
hdd_err("hdd_ctx is not valid");