Pārlūkot izejas kodu

qcacld-3.0: Do not wait for scan cancel during suspend

In the suspend path, the code waits for all active/pending scans to be
cancelled before continuing the suspend. Instead, for better power
savings, abort all active/pending scans during suspend and immediately
continue the suspend process.

Change-Id: I16a5429c00034fe58fb4c70a8dacda666ac54227
CRs-Fixed: 2073229
Dustin Brown 8 gadi atpakaļ
vecāks
revīzija
49784b196c
1 mainītis faili ar 0 papildinājumiem un 8 dzēšanām
  1. 0 8
      pmo/core/src/wlan_pmo_suspend_resume.c

+ 0 - 8
pmo/core/src/wlan_pmo_suspend_resume.c

@@ -732,14 +732,6 @@ QDF_STATUS pmo_core_psoc_bus_suspend_req(struct wlan_objmgr_psoc *psoc,
 
 
 	psoc_ctx = pmo_psoc_get_priv(psoc);
 	psoc_ctx = pmo_psoc_get_priv(psoc);
 
 
-/* TODO - scan manager need to provide the below public api
-	if (wma_check_scan_in_progress(handle)) {
-		pmo_err("Scan in progress. Aborting suspend");
-		status = QDF_STATUS_E_NULL_VALUE;
-		goto out;
-	}
-*/
-
 	wow_mode_selected = pmo_core_is_wow_enabled(psoc_ctx);
 	wow_mode_selected = pmo_core_is_wow_enabled(psoc_ctx);
 	pmo_info("wow mode selected %d", wow_mode_selected);
 	pmo_info("wow mode selected %d", wow_mode_selected);