mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacmn: Remove hardcoded stats_id in send_get_stats_cmd_tlv
Initialize stats_id based on stats_mask instead of hard coded value in send_get_stats_cmd_tlv Change-Id: Ibe007311ecdc848dee34502dd3f288c99a6fe7e4
This commit is contained in:
parent
6e1128196a
commit
5214f28e3e
1 changed files with 1 additions and 2 deletions
|
|
@ -7601,8 +7601,7 @@ static QDF_STATUS send_get_stats_cmd_tlv(wmi_unified_t wmi_handle,
|
|||
WMITLV_TAG_STRUC_wmi_request_stats_cmd_fixed_param,
|
||||
WMITLV_GET_STRUCT_TLVLEN
|
||||
(wmi_request_stats_cmd_fixed_param));
|
||||
cmd->stats_id =
|
||||
WMI_REQUEST_PDEV_STAT;
|
||||
cmd->stats_id = get_stats_param->stats_mask;
|
||||
cmd->vdev_id = get_stats_param->session_id;
|
||||
WMI_CHAR_ARRAY_TO_MAC_ADDR(addr, &cmd->peer_macaddr);
|
||||
WMI_LOGD("STATS REQ VDEV_ID:%d-->", cmd->vdev_id);
|
||||
|
|
|
|||
Loading…
Reference in a new issue