From 12a960213e228d124f619c9a9cafe65cfa413449 Mon Sep 17 00:00:00 2001 From: Dustin Brown Date: Wed, 12 Jul 2017 10:34:50 -0700 Subject: [PATCH] qcacld-3.0: Populate stats_mask when requesting stats wma_get_stats_req does not populate the requested statistics bitmask before forwarding the request to WMI. Popluate the given statistics bitmask into the WMI request in wma_get_stats_req, so firmware can provide the desired statistics. Change-Id: I6dbf7bf1fb2cf6b20bcd4f2fb91f9add5dd3d779 CRs-Fixed: 2075379 --- core/wma/src/wma_utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/wma/src/wma_utils.c b/core/wma/src/wma_utils.c index 1f7e3071ba55..4959f461a71a 100644 --- a/core/wma/src/wma_utils.c +++ b/core/wma/src/wma_utils.c @@ -3637,6 +3637,7 @@ void wma_get_stats_req(WMA_HANDLE handle, node->stats_rsp->statsMask, get_stats_param->sessionId); cmd.session_id = get_stats_param->sessionId; + cmd.stats_mask = get_stats_param->statsMask; if (wmi_unified_get_stats_cmd(wma_handle->wmi_handle, &cmd, node->bssid)) {