From 78a2fe5f48c3e8903b8472b12b068eb39f67609f Mon Sep 17 00:00:00 2001 From: Shubham Pawar Date: Fri, 18 Mar 2022 16:45:25 +0530 Subject: [PATCH] qcacmn: Call wlan_mgmt_reo_sim_stop to stop the simulation In ucfg_wlan_mgmt_rx_reo_sim_stop() when mgmt rx reo simulation is in progress, wlan_mgmt_rx_reo_sim_start() is called incorrectly instead of calling ucfg_wlan_mgmt_rx_reo_sim_stop(). Fix this by calling ucfg_wlan_mgmt_rx_reo_sim_stop() instead of wlan_mgmt_rx_reo_sim_start() in ucfg_wlan_mgmt_rx_reo_sim_stop(). Change-Id: I906618fc87448cefae54bdcdf00c7f64217362fd CRs-Fixed: 3154187 --- .../mgmt_txrx/dispatcher/src/wlan_mgmt_txrx_rx_reo_ucfg_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umac/cmn_services/mgmt_txrx/dispatcher/src/wlan_mgmt_txrx_rx_reo_ucfg_api.c b/umac/cmn_services/mgmt_txrx/dispatcher/src/wlan_mgmt_txrx_rx_reo_ucfg_api.c index 2ca2a4f50b..5bed8b336a 100644 --- a/umac/cmn_services/mgmt_txrx/dispatcher/src/wlan_mgmt_txrx_rx_reo_ucfg_api.c +++ b/umac/cmn_services/mgmt_txrx/dispatcher/src/wlan_mgmt_txrx_rx_reo_ucfg_api.c @@ -51,7 +51,7 @@ ucfg_wlan_mgmt_rx_reo_sim_stop(void) if (wlan_mgmt_rx_reo_is_simulation_in_progress()) { mgmt_rx_reo_debug("Stopping simulation"); - status = wlan_mgmt_rx_reo_sim_start(); + status = wlan_mgmt_rx_reo_sim_stop(); if (QDF_IS_STATUS_ERROR(status)) { mgmt_rx_reo_err("Failed to stop rx reo sim"); return status;