diff --git a/core/cds/inc/cds_api.h b/core/cds/inc/cds_api.h index e58c09231b31..d62f555f7bdf 100644 --- a/core/cds/inc/cds_api.h +++ b/core/cds/inc/cds_api.h @@ -219,7 +219,7 @@ QDF_STATUS cds_enable(struct wlan_objmgr_psoc *psoc, v_CONTEXT_t cds_context); QDF_STATUS cds_disable(struct wlan_objmgr_psoc *psoc, v_CONTEXT_t cds_context); -QDF_STATUS cds_post_disable(v_CONTEXT_t cds_context); +QDF_STATUS cds_post_disable(void); QDF_STATUS cds_close(struct wlan_objmgr_psoc *psoc, v_CONTEXT_t cds_context); diff --git a/core/cds/src/cds_api.c b/core/cds/src/cds_api.c index 86c7ff6ddbc2..522c170f7dac 100644 --- a/core/cds/src/cds_api.c +++ b/core/cds/src/cds_api.c @@ -948,11 +948,10 @@ static inline void cds_suspend_target(tp_wma_handle wma_handle) /** * cds_post_disable() - post disable cds module - * @cds_context: CDS context * * Return: QDF status */ -QDF_STATUS cds_post_disable(v_CONTEXT_t cds_context) +QDF_STATUS cds_post_disable(void) { tp_wma_handle wma_handle; struct hif_opaque_softc *hif_ctx; diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index fbbf31a963ac..137fb5db375f 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -2119,7 +2119,7 @@ int hdd_wlan_start_modules(hdd_context_t *hdd_ctx, hdd_adapter_t *adapter, return 0; post_disable: - cds_post_disable(hdd_ctx->pcds_context); + cds_post_disable(); close: hdd_ctx->driver_status = DRIVER_MODULES_CLOSED; @@ -8960,7 +8960,7 @@ int hdd_wlan_stop_modules(hdd_context_t *hdd_ctx, bool ftm_mode) goto done; } - qdf_status = cds_post_disable(hdd_ctx->pcds_context); + qdf_status = cds_post_disable(); if (!QDF_IS_STATUS_SUCCESS(qdf_status)) { hdd_err("Failed to process post CDS disable Modules! :%d", qdf_status);