From 531361dfeab18c9852ee59eedf1fa26686681cfc Mon Sep 17 00:00:00 2001 From: Mukul Sharma Date: Fri, 30 Oct 2015 19:30:19 +0530 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index fefe3c2578..c25c880ffb 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -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");