Переглянути джерело

Merge "qcacld-3.0: Move initialization of Green AP to start modules" into wlan-cld3.driver.lnx.2.0-dev

CNSS_WLAN Service 7 роки тому
батько
коміт
8d04396a93
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      core/hdd/src/wlan_hdd_main.c

+ 3 - 3
core/hdd/src/wlan_hdd_main.c

@@ -9061,6 +9061,9 @@ int hdd_configure_cds(hdd_context_t *hdd_ctx, hdd_adapter_t *adapter)
 	if (ret)
 		goto cds_disable;
 
+	if (hdd_enable_egap(hdd_ctx))
+		hdd_debug("enhance green ap is not enabled");
+
 	return 0;
 
 cds_disable:
@@ -9503,9 +9506,6 @@ int hdd_wlan_startup(struct device *dev)
 	memdump_init();
 	hdd_driver_memdump_init();
 
-	if (hdd_enable_egap(hdd_ctx))
-		hdd_debug("enhance green ap is not enabled");
-
 	if (hdd_ctx->config->fIsImpsEnabled)
 		hdd_set_idle_ps_config(hdd_ctx, true);