diff options
| author | Kanchanapally, Vidyullatha <vkanchan@qti.qualcomm.com> | 2014-01-24 13:47:37 -0800 |
|---|---|---|
| committer | Prakash Dhavali <pdhavali@qca.qualcomm.com> | 2014-01-26 00:04:34 -0800 |
| commit | bb2fbd1054991044543e1471cbaac1a254f6c8d8 (patch) | |
| tree | 56a7d2d6ab482bb10dfb33bad4858bc6b5b3d974 | |
| parent | b5fcd89667034d82ba81b1f565804093a90da084 (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.
Change-Id: Ieb5bb172fe551d415b9975edf21e2edcbdbf491b
CRs-Fixed: 594614
| -rw-r--r-- | CORE/MAC/src/pe/rrm/rrmApi.c | 5 |
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; |
