diff options
author | Rajshekar Eashwarappa <reashw@codeaurora.org> | 2019-06-26 15:07:50 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-07-11 09:22:00 -0700 |
commit | 1f5d51b1f324df8e85e9d394228328169bf2e0dd (patch) | |
tree | 5ad4c1cc0627d64b9ffa9259b3b0e731108d3817 | |
parent | b70247d7b061abb6828adf89b04c9aac4676ad38 (diff) |
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
-rw-r--r-- | CORE/SME/src/csr/csrApiScan.c | 4 |
1 files 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 |