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
This commit is contained in:

committed by
Madan Koyyalamudi

parent
49ce65bf57
commit
78a2fe5f48
@@ -51,7 +51,7 @@ ucfg_wlan_mgmt_rx_reo_sim_stop(void)
|
|||||||
|
|
||||||
if (wlan_mgmt_rx_reo_is_simulation_in_progress()) {
|
if (wlan_mgmt_rx_reo_is_simulation_in_progress()) {
|
||||||
mgmt_rx_reo_debug("Stopping simulation");
|
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)) {
|
if (QDF_IS_STATUS_ERROR(status)) {
|
||||||
mgmt_rx_reo_err("Failed to stop rx reo sim");
|
mgmt_rx_reo_err("Failed to stop rx reo sim");
|
||||||
return status;
|
return status;
|
||||||
|
Reference in New Issue
Block a user