소스 검색

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
Shubham Pawar 3 년 전
부모
커밋
78a2fe5f48
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      umac/cmn_services/mgmt_txrx/dispatcher/src/wlan_mgmt_txrx_rx_reo_ucfg_api.c

+ 1 - 1
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;