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:
Kiran Venkatappa 2017-03-28 22:45:27 +05:30 • committed by Sandeep Puligilla
commit dc79e0759c

View file

@ -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,