summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNalla Kartheek <c_karthe@qti.qualcomm.com>2015-09-28 12:39:41 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2015-09-30 16:36:31 +0530
commit72de30e536cc0369cd8edb593916feb705f4b708 (patch)
tree833fbfa6a6bb939207079e5919bd2cb837bed80d
parentf496d94b4139de0bc4489a98c14f94bed24ea2fd (diff)
qcacld-2.0 : set fProbeRsp flag if PNO indication is from Probe response
prima to qcacld-2.0 propagation Kernel updates RSN IEs in BSS table only if it receives the Probe response. Hence set fProbeRsp flag in BssDescriptor if PNO found indication is due to probe response. CRs-Fixed: 907635 Change-Id: I2bfee96c5a2abc6b0730c11e0c694ede81a69a21
-rw-r--r--CORE/SME/src/csr/csrApiScan.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/CORE/SME/src/csr/csrApiScan.c b/CORE/SME/src/csr/csrApiScan.c
index 54e8152f76b7..08f286b029ae 100644
--- a/CORE/SME/src/csr/csrApiScan.c
+++ b/CORE/SME/src/csr/csrApiScan.c
@@ -8545,6 +8545,12 @@ eHalStatus csrScanSavePreferredNetworkFound(tpAniSirGlobal pMac,
vos_mem_free(pParsedFrame);
return eHAL_STATUS_RESOURCES;
}
+
+ if ((macHeader->fc.type == SIR_MAC_MGMT_FRAME) &&
+ (macHeader->fc.subType == SIR_MAC_MGMT_PROBE_RSP))
+ {
+ pScanResult->Result.BssDescriptor.fProbeRsp = 1;
+ }
//Add to scan cache
csrScanAddResult(pMac, pScanResult, pIesLocal,
pPrefNetworkFoundInd->sessionId);