From b247d8e68920a47c9aa4dc18e50f9cb4d8120733 Mon Sep 17 00:00:00 2001 From: Akshay Kosigi Date: Wed, 19 Jun 2019 11:29:25 +0530 Subject: [PATCH] qca-wifi: Fix for removal of common_wmi_handle Add changes to remove usage of common_wmi_handle Instead use wmi_unified_t as opaque pointer Change-Id: Icaad5f740e4a3c7de5cbe7a5713ae0a9b550b542 --- target_if/cfr/src/target_if_cfr.c | 4 ++-- target_if/cfr/src/target_if_cfr_8074v2.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target_if/cfr/src/target_if_cfr.c b/target_if/cfr/src/target_if_cfr.c index 57c32c2290..9d34473a32 100644 --- a/target_if/cfr/src/target_if_cfr.c +++ b/target_if/cfr/src/target_if_cfr.c @@ -35,7 +35,7 @@ int target_if_cfr_stop_capture(struct wlan_objmgr_pdev *pdev, { struct peer_cfr *pe; struct peer_cfr_params param = {0}; - struct common_wmi_handle *pdev_wmi_handle = NULL; + struct wmi_unified *pdev_wmi_handle = NULL; struct wlan_objmgr_vdev *vdev = {0}; struct pdev_cfr *pdev_cfrobj; int retv = 0; @@ -82,7 +82,7 @@ int target_if_cfr_start_capture(struct wlan_objmgr_pdev *pdev, struct cfr_capture_params *cfr_params) { struct peer_cfr_params param = {0}; - struct common_wmi_handle *pdev_wmi_handle = NULL; + struct wmi_unified *pdev_wmi_handle = NULL; struct wlan_objmgr_vdev *vdev; int retv = 0; diff --git a/target_if/cfr/src/target_if_cfr_8074v2.c b/target_if/cfr/src/target_if_cfr_8074v2.c index d236ba58da..8694a1f221 100644 --- a/target_if/cfr/src/target_if_cfr_8074v2.c +++ b/target_if/cfr/src/target_if_cfr_8074v2.c @@ -304,7 +304,7 @@ target_if_peer_capture_event(ol_scn_t sc, uint8_t *data, uint32_t datalen) { QDF_STATUS retval = 0; ol_ath_soc_softc_t *scn = (ol_ath_soc_softc_t *)sc; - struct common_wmi_handle *wmi_handle; + struct wmi_unified *wmi_handle; struct wlan_objmgr_psoc *psoc; struct wlan_objmgr_pdev *pdev; struct wlan_objmgr_vdev *vdev;