mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 09:14:18 -04:00
qcacmn: update logic to get wmi_handle from pdev
Update the target if interface api to get the wmi handle. Change-Id: Ifb31f6fc11ac3e86d003342ef8e4d4af29a0b170 CRs-Fixed: 2168264
This commit is contained in:
parent
b8e1241366
commit
f484c2b0da
1 changed files with 3 additions and 3 deletions
|
|
@ -31,7 +31,7 @@
|
|||
#endif /*CONFIG_WIN*/
|
||||
#include <reg_services_public_struct.h>
|
||||
#include <target_if_spectral_sim.h>
|
||||
|
||||
#include <target_if.h>
|
||||
/**
|
||||
* @spectral_ops - Spectral function table, holds the Spectral functions that
|
||||
* depend on whether the architecture is Direct Attach or Offload. This is used
|
||||
|
|
@ -134,7 +134,7 @@ static int target_if_send_vdev_spectral_configure_cmd(
|
|||
sparam.chn_mask = param->ss_chn_mask;
|
||||
|
||||
return spectral->param_wmi_cmd_ops.wmi_spectral_configure_cmd_send(
|
||||
(wmi_unified_t)pdev->tgt_if_handle, &sparam);
|
||||
GET_WMI_HDL_FROM_PDEV(pdev), &sparam);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -182,7 +182,7 @@ static int target_if_send_vdev_spectral_enable_cmd(
|
|||
param.enabled = is_spectral_enabled;
|
||||
|
||||
return spectral->param_wmi_cmd_ops.wmi_spectral_enable_cmd_send(
|
||||
(wmi_unified_t)pdev->tgt_if_handle, ¶m);
|
||||
GET_WMI_HDL_FROM_PDEV(pdev), ¶m);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue