summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKanchanapally, Vidyullatha <vkanchan@qti.qualcomm.com>2014-01-24 13:47:37 -0800
committerPrakash Dhavali <pdhavali@qca.qualcomm.com>2014-01-25 21:02:04 -0800
commit2bc8a3195005076b6db3a0e27f76986e68a4e70a (patch)
tree56a7d2d6ab482bb10dfb33bad4858bc6b5b3d974
parentc5706dafbe0b696a3b6325a583a2379c1b332697 (diff)
wlan: copy measurement type and duration (RRM).
Fix for issue where DUT was doing a passive scan instead of an active scan when there is a beacon report request on a specific channel. In the case where the num_APChannelReport is zero, the measurement type and measurement duration are not being copied. Hence added an else condition to address this. CRs-Fixed: 594614
-rw-r--r--CORE/MAC/src/pe/rrm/rrmApi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/CORE/MAC/src/pe/rrm/rrmApi.c b/CORE/MAC/src/pe/rrm/rrmApi.c
index 1420f699db6a..5e8f760f7dcf 100644
--- a/CORE/MAC/src/pe/rrm/rrmApi.c
+++ b/CORE/MAC/src/pe/rrm/rrmApi.c
@@ -668,6 +668,11 @@ rrmProcessBeaconReportReq( tpAniSirGlobal pMac,
pSmeBcnReportReq->fMeasurementtype[num_APChanReport] = pBeaconReq->measurement_request.Beacon.meas_mode;
}
}
+ else
+ {
+ pSmeBcnReportReq->measurementDuration[0] = SYS_TU_TO_MS(measDuration);
+ pSmeBcnReportReq->fMeasurementtype[0] = pBeaconReq->measurement_request.Beacon.meas_mode;
+ }
//Send request to SME.
mmhMsg.type = eWNI_SME_BEACON_REPORT_REQ_IND;