From 1f5d51b1f324df8e85e9d394228328169bf2e0dd Mon Sep 17 00:00:00 2001 From: Rajshekar Eashwarappa Date: Wed, 26 Jun 2019 15:07:50 +0530 Subject: qcacld-2.0: limit time for scan when miracast is running When scanning the passive channels the device will be offchannel for some ms which is affecting the miracast session. Change-Id: Id2bda3469f4e8f46d0e2601f5ff43eb459112bd4 --- CORE/SME/src/csr/csrApiScan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CORE/SME/src/csr/csrApiScan.c b/CORE/SME/src/csr/csrApiScan.c index 166875e4a747..2668b47850d0 100644 --- a/CORE/SME/src/csr/csrApiScan.c +++ b/CORE/SME/src/csr/csrApiScan.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2011-2019 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -6466,7 +6466,7 @@ eHalStatus csrScanCopyRequest(tpAniSirGlobal pMac, tCsrScanRequest *pDstReq, tCs ((eCSR_SCAN_P2P_DISCOVERY == pSrcReq->requestType) && CSR_IS_SOCIAL_CHANNEL(pSrcReq->ChannelInfo.ChannelList[index])))) { - if( ((pSrcReq->skipDfsChnlInP2pSearch || + if( ((pSrcReq->skipDfsChnlInP2pSearch || pMac->sme.miracast_value || skip_dfs_chnl) && (NV_CHANNEL_DFS == vos_nv_getChannelEnabledState(pSrcReq->ChannelInfo.ChannelList[index])) ) #ifdef FEATURE_WLAN_LFR -- cgit v1.2.3