mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacmn: Fix pdev_id used in WMI_PDEV_SUSPEND_CMDID command
Firmware expects pdev suspend to be sent per pdev. Fix odev_suspend command to use proper pdev_id. Change-Id: I17489bbfc55c0c49371a857148af80f66b342378 CRs-Fixed: 2062400
This commit is contained in:
parent
6eaefc4bf9
commit
b3e0af9eb2
1 changed files with 3 additions and 0 deletions
|
|
@ -1187,6 +1187,9 @@ static QDF_STATUS send_suspend_cmd_tlv(wmi_unified_t wmi_handle,
|
|||
cmd->suspend_opt = WMI_PDEV_SUSPEND_AND_DISABLE_INTR;
|
||||
else
|
||||
cmd->suspend_opt = WMI_PDEV_SUSPEND;
|
||||
|
||||
cmd->pdev_id = wmi_handle->ops->convert_pdev_id_host_to_target(mac_id);
|
||||
|
||||
ret = wmi_unified_cmd_send(wmi_handle, wmibuf, len,
|
||||
WMI_PDEV_SUSPEND_CMDID);
|
||||
if (ret) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue