1
0

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
Este cometimento está contido em:
Shubham Pawar
2022-03-18 16:45:25 +05:30
cometido por Madan Koyyalamudi
ascendente 49ce65bf57
cometimento 78a2fe5f48

Ver ficheiro

@@ -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;