Kaynağa Gözat

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
Mukul Sharma 9 yıl önce
ebeveyn
işleme
51c449481e
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3 0
      core/hdd/src/wlan_hdd_main.c

+ 3 - 0
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");