mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
qcacmn: set correct pdev_id in pdev param
Remove pdev_id hardcoding to zero and set it to correct value. Change-Id: Icda30af88f396a18e1bbab31780fedaa453db687
This commit is contained in:
parent
a85d8b4ad7
commit
dc79e0759c
1 changed files with 2 additions and 2 deletions
|
|
@ -973,7 +973,7 @@ static QDF_STATUS send_green_ap_ps_cmd_tlv(wmi_unified_t wmi_handle,
|
|||
WMITLV_TAG_STRUC_wmi_pdev_green_ap_ps_enable_cmd_fixed_param,
|
||||
WMITLV_GET_STRUCT_TLVLEN
|
||||
(wmi_pdev_green_ap_ps_enable_cmd_fixed_param));
|
||||
cmd->pdev_id = 0;
|
||||
cmd->pdev_id = mac_id;
|
||||
cmd->enable = value;
|
||||
|
||||
if (wmi_unified_cmd_send(wmi_handle, buf, len,
|
||||
|
|
@ -1128,7 +1128,7 @@ send_pdev_param_cmd_tlv(wmi_unified_t wmi_handle,
|
|||
WMITLV_TAG_STRUC_wmi_pdev_set_param_cmd_fixed_param,
|
||||
WMITLV_GET_STRUCT_TLVLEN
|
||||
(wmi_pdev_set_param_cmd_fixed_param));
|
||||
cmd->pdev_id = 0;
|
||||
cmd->pdev_id = mac_id;
|
||||
cmd->param_id = pdev_param;
|
||||
cmd->param_value = param->param_value;
|
||||
WMI_LOGD("Setting pdev param = %x, value = %u", param->param_id,
|
||||
|
|
|
|||
Loading…
Reference in a new issue