diff --git a/core/cds/src/cds_api.c b/core/cds/src/cds_api.c index b3b340b2e5..4f518e4728 100644 --- a/core/cds/src/cds_api.c +++ b/core/cds/src/cds_api.c @@ -914,7 +914,7 @@ err_wma_stop: QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR, "%s: Failed to stop wma", __func__); QDF_ASSERT(QDF_IS_STATUS_SUCCESS(qdf_status)); - wma_setneedshutdown(cds_context); + wma_setneedshutdown(); } else { qdf_status = qdf_wait_single_event(&(gp_cds_context->wmaCompleteEvent), @@ -932,7 +932,7 @@ err_wma_stop: __func__); } QDF_ASSERT(0); - wma_setneedshutdown(cds_context); + wma_setneedshutdown(); } } @@ -964,7 +964,7 @@ QDF_STATUS cds_disable(struct wlan_objmgr_psoc *psoc, v_CONTEXT_t cds_context) if (!QDF_IS_STATUS_SUCCESS(qdf_status)) { cds_err("Failed to stop wma"); QDF_ASSERT(QDF_IS_STATUS_SUCCESS(qdf_status)); - wma_setneedshutdown(cds_context); + wma_setneedshutdown(); } handle = cds_get_context(QDF_MODULE_ID_PE); diff --git a/core/wma/inc/wma_api.h b/core/wma/inc/wma_api.h index 99c6d654de..f5d37beb5c 100644 --- a/core/wma/inc/wma_api.h +++ b/core/wma/inc/wma_api.h @@ -116,7 +116,7 @@ int wma_rx_service_ready_event(void *handle, uint8_t *ev, uint32_t len); int wma_rx_service_ready_ext_event(void *handle, uint8_t *ev, uint32_t len); -void wma_setneedshutdown(void *cds_context); +void wma_setneedshutdown(void); bool wma_needshutdown(void); diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index a01ee714df..a97c54a8f0 100644 --- a/core/wma/src/wma_main.c +++ b/core/wma/src/wma_main.c @@ -5871,11 +5871,10 @@ int wma_rx_ready_event(void *handle, uint8_t *cmd_param_info, /** * wma_setneedshutdown() - setting wma needshutdown flag - * @cds_ctx: cds context * * Return: none */ -void wma_setneedshutdown(void *cds_ctx) +void wma_setneedshutdown(void) { tp_wma_handle wma_handle;