mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
qcacld-3.0: Move initialization of Green AP to start modules
Currently during wlan startup, driver initializes Green AP with EGAP param. If the interface timer expires driver sends command to disable EGAP. This causes failure when interface is created and start modules attempts to start Green AP. Move initialization of Green AP to start modules. Change-Id: Id08a1d61c69aeb9096d8eb4bf67fd8c2b5c8822f CRs-Fixed: 2074556
This commit is contained in:
parent
00a696368d
commit
fbd1afcbdb
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue