mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
qcacld-2.0: Send ESE becaon report if request is valid
prima to qcacld-2.0 propagation Currently if connection is ESE and RRM beacon request is received, eseProcessBeaconReportXmit is invoked as part of sending report which results in error as there is no ese request. Add a check to invoke eseProcessBeaconReportXmit only if measurement request is valid. Change-Id: I3fe6101b888c70670a371a1eb45b47d756511b1d CRs-Fixed: 1002305
This commit is contained in:
parent
b410c951a4
commit
2841d21310
1 changed files with 5 additions and 1 deletions
|
@ -5236,6 +5236,7 @@ void __limProcessReportMessage(tpAniSirGlobal pMac, tpSirMsgQ pMsg)
|
|||
tpSirBeaconReportXmitInd pBcnReport=NULL;
|
||||
tpPESession psessionEntry=NULL;
|
||||
tANI_U8 sessionId;
|
||||
tpEsePEContext pEseContext = NULL;
|
||||
|
||||
if(pMsg->bodyptr == NULL)
|
||||
{
|
||||
|
@ -5248,7 +5249,10 @@ void __limProcessReportMessage(tpAniSirGlobal pMac, tpSirMsgQ pMsg)
|
|||
limLog(pMac, LOGE, "Session Does not exist for given bssId");
|
||||
return;
|
||||
}
|
||||
if (psessionEntry->isESEconnection)
|
||||
|
||||
pEseContext = &psessionEntry->eseContext;
|
||||
|
||||
if (psessionEntry->isESEconnection && pEseContext->curMeasReq.isValid)
|
||||
eseProcessBeaconReportXmit( pMac, pMsg->bodyptr);
|
||||
else
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue