summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDustin Brown <dustinb@codeaurora.org>2017-03-07 14:21:03 -0800
committerqcabuildsw <qcabuildsw@localhost>2017-03-07 18:03:27 -0800
commit4481b85d481d5da5a45dcaf048a753c9f03d2fca (patch)
tree86dcd7264539ef159795a46a28aee74b9995071f
parent57205ea30e59aa9b69159cde4609ef6304fbff7e (diff)
qcacld-3.0: Increment PNO complete stats from NLO callback
Increment the pno_complete stats counter from the Network Listen Offload (NLO) complete callback, in order to keep pno_match and pno_complete stats synchronized. Change-Id: I7ac7edeb3a10498549dceee1874c99ea3095f28e CRs-Fixed: 2016236
-rw-r--r--core/wma/src/wma_scan_roam.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/wma/src/wma_scan_roam.c b/core/wma/src/wma_scan_roam.c
index b93c73d8950e..a3d76ca281ee 100644
--- a/core/wma/src/wma_scan_roam.c
+++ b/core/wma/src/wma_scan_roam.c
@@ -3549,8 +3549,9 @@ int wma_nlo_scan_cmp_evt_handler(void *handle, uint8_t *event,
qdf_wake_lock_release(&wma->pno_wake_lock,
WIFI_POWER_EVENT_WAKELOCK_PNO);
- scan_event =
- (tSirScanOffloadEvent *)
+ node->wow_stats.pno_complete++;
+
+ scan_event = (tSirScanOffloadEvent *)
qdf_mem_malloc(sizeof(tSirScanOffloadEvent));
if (scan_event) {
/* Posting scan completion msg would take scan cache result