qcacld-3.0: Use new API for fetching wmi_handle
Use get_wmi_unified_hdl_from_psoc instead of GET_WMI_HDL_FROM_PSOC due
to incompatible return types.
Solve renaming dependencies with common side changes.
Change-Id: Ie84641327d64876877c7d26b63d632c79770a88c
CRs-Fixed: 2203055
diff --git a/components/target_if/disa/src/target_if_disa.c b/components/target_if/disa/src/target_if_disa.c
index 96a037f..c1ac4a2 100644
--- a/components/target_if/disa/src/target_if_disa.c
+++ b/components/target_if/disa/src/target_if_disa.c
@@ -44,7 +44,7 @@
}
if (wmi_extract_encrypt_decrypt_resp_params(
- GET_WMI_HDL_FROM_PSOC(psoc),
+ get_wmi_unified_hdl_from_psoc(psoc),
data, &resp) != QDF_STATUS_SUCCESS) {
target_if_err("Extraction of encrypt decrypt resp params failed");
return -EINVAL;
@@ -60,7 +60,7 @@
{
QDF_STATUS status;
- status = wmi_unified_register_event(GET_WMI_HDL_FROM_PSOC(psoc),
+ status = wmi_unified_register_event(get_wmi_unified_hdl_from_psoc(psoc),
wmi_vdev_encrypt_decrypt_data_rsp_event_id,
target_if_encrypt_decrypt_event_handler);
if (status) {
@@ -76,7 +76,8 @@
{
QDF_STATUS status;
- status = wmi_unified_unregister_event(GET_WMI_HDL_FROM_PSOC(psoc),
+ status = wmi_unified_unregister_event(
+ get_wmi_unified_hdl_from_psoc(psoc),
wmi_vdev_encrypt_decrypt_data_rsp_event_id);
if (status) {
target_if_err("Failed to unregister Scan match event cb");
@@ -90,8 +91,8 @@
target_if_disa_encrypt_decrypt_req(struct wlan_objmgr_psoc *psoc,
struct disa_encrypt_decrypt_req_params *req)
{
- return wmi_unified_encrypt_decrypt_send_cmd(GET_WMI_HDL_FROM_PSOC(psoc),
- req);
+ return wmi_unified_encrypt_decrypt_send_cmd(
+ get_wmi_unified_hdl_from_psoc(psoc), req);
}