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
This commit is contained in:
Dustin Brown
2017-07-12 10:34:50 -07:00
committed by snandini
parent 64bfe97415
commit 12a960213e

View File

@@ -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)) {