Browse Source

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
Dustin Brown 7 years ago
parent
commit
12a960213e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/wma/src/wma_utils.c

+ 1 - 0
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)) {