wlan: p2p find takes long time when STA is connected to AP
The issue is due to DFS channel scanning during p2p_find.
Fixed the issue by filtering DFS channel from SME.
Removed SkipDfsChannelInP2pSearch Implementation from LIM
Change-Id: Ieb559f5aeb8dc12c1bbc2a19494c24d6b2d79f1d
CR-Fixed: 420836
diff --git a/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c b/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c
index 37369e1..875adce 100644
--- a/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c
+++ b/CORE/MAC/src/pe/lim/limProcessMlmRspMessages.c
@@ -4005,29 +4005,7 @@
}
else
{
- //Skip Dfs Channel in case of P2P Search
- //If skipDfsChnlInP2pSearch is set in ini
- if( ( pMac->lim.gpLimMlmScanReq != NULL ) &&
- pMac->lim.gpLimMlmScanReq->p2pSearch &&
- pMac->lim.gpLimMlmScanReq->skipDfsChnlInP2pSearch )
- {
- int flag = 0;
- while(!flag)
- {
- pMac->lim.gLimCurrentScanChannelId++;
- if( (pMac->lim.gLimCurrentScanChannelId >
- (tANI_U32) (pMac->lim.gpLimMlmScanReq->channelList.numChannels - 1))||
- (limActiveScanAllowed(pMac, limGetCurrentScanChannel(pMac))))
- {
- flag=1; //Bail out from here
- }
- }
- }
- else
- {
- pMac->lim.gLimCurrentScanChannelId++;
- }
-
+ pMac->lim.gLimCurrentScanChannelId++;
limContinueChannelScan(pMac);
}
break;