diff options
| author | Srinivas Girigowda <sgirigow@qca.qualcomm.com> | 2015-01-26 16:17:38 -0800 |
|---|---|---|
| committer | AnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com> | 2015-01-29 15:23:42 +0530 |
| commit | 4017ed37d7d190f90cf997d70ba61ba7ccd7d3ce (patch) | |
| tree | f3e7e93afb3934c84bdde286e9a4a394935c0648 | |
| parent | 07f9e744df686ba40c8a2f3d55e677301b955075 (diff) | |
qcacld: EXTSCAN: Fix to pass the correct available "number_of_results"
Currently, in extscan table usage handler; the number of results
available is always set to maximum_entries received from the firmware.
This maximum_entries is max supported entries which is a
constant value, instead we should be using 'entries_in_use' which
represents the current number of results available.
Hence, fix the code by replacing 'maximum_entries' with
'entries_in_use'.
Change-Id: I1f955d2066dce3355922fff61ed2820ae65066de
CRs-Fixed: 786867
| -rw-r--r-- | CORE/SERVICES/WMA/wma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c index b3d77fd73bae..74e1e911a183 100644 --- a/CORE/SERVICES/WMA/wma.c +++ b/CORE/SERVICES/WMA/wma.c @@ -2744,7 +2744,7 @@ static int wma_extscan_table_usage_event_handler (void *handle, return -EINVAL; } tbl_usg_ind->requestId = event->request_id; - tbl_usg_ind->numResultsAvailable = event->maximum_entries; + tbl_usg_ind->numResultsAvailable = event->entries_in_use; pMac->sme.pExtScanIndCb(pMac->hHdd, eSIR_EXTSCAN_SCAN_RES_AVAILABLE_IND, |
