Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41173ddb authored by Jianmin Zhu's avatar Jianmin Zhu Committed by nshrivas
Browse files

qcacld-3.0: Fix roaming failure if FastRoamingEnabled disabled

Allow driver to send RSO command irrespective of value of INI
FastRoamingEnabled.
FastRoamEnabled has nothing to do with LFR enable or disable.

Change-Id: Ice5e653b249f988a49d18ed56c9be53d4436bf56
CRs-Fixed: 2385045
parent 410ff19d
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -1021,14 +1021,16 @@ static void csr_neighbor_roam_info_ctx_init(
			FL("isESEAssoc is = %d ft = %d"),
			ngbr_roam_info->isESEAssoc, init_ft_flag);
#endif
	/* If "Legacy Fast Roaming" is enabled */
	/* If "FastRoamEnabled" ini is enabled */
	if (csr_roam_is_fast_roam_enabled(pMac, session_id))
		init_ft_flag = true;
	if (init_ft_flag == false)
		return;
	/* Initialize all the data structures needed for the 11r FT Preauth */

	if (init_ft_flag) {
		/* Initialize all the data needed for the 11r FT Preauth */
		ngbr_roam_info->FTRoamInfo.currentNeighborRptRetryNum = 0;
		csr_neighbor_roam_purge_preauth_failed_list(pMac);
	}

	if (csr_roam_is_roam_offload_scan_enabled(pMac)) {
		/*
		 * If this is not a INFRA type BSS, then do not send the command