mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Move cfg ini based WMI command to hdd_wlan_start_modules
Move cfg ini based WMI cts2self enable command from hdd_wlan_startup to hdd_wlan_start_modules during DRIVER_MODULES_OPENED state. After hdd_wlan_startup, host starts the interface timer and if this timer gets expired, then driver closes all the modules and cut down the power to the chip. On iface up, power on happens and modules are started again, and all WMI configuration needs to be sent again to FW which happends as part of hdd_wlan_start_modules. Change-Id: I50183b65c88b5b5fec6a09f93dc2c86d39f48039 CRs-Fixed: 2010097
This commit is contained in:
parent
1c2a954c1a
commit
642ec9bed6
1 changed files with 3 additions and 3 deletions
|
|
@ -8014,6 +8014,9 @@ static int hdd_features_init(hdd_context_t *hdd_ctx, hdd_adapter_t *adapter)
|
|||
else
|
||||
hdd_set_idle_ps_config(hdd_ctx, false);
|
||||
|
||||
if (hdd_ctx->config->enable_go_cts2self_for_sta)
|
||||
sme_set_cts2self_for_p2p_go(hdd_ctx->hHal);
|
||||
|
||||
if (hdd_lro_init(hdd_ctx))
|
||||
hdd_err("Unable to initialize LRO in fw");
|
||||
|
||||
|
|
@ -8462,9 +8465,6 @@ int hdd_wlan_startup(struct device *dev)
|
|||
hdd_release_rtnl_lock();
|
||||
rtnl_held = false;
|
||||
|
||||
if (hdd_ctx->config->enable_go_cts2self_for_sta)
|
||||
sme_set_cts2self_for_p2p_go(hdd_ctx->hHal);
|
||||
|
||||
wlan_hdd_update_11n_mode(hdd_ctx->config);
|
||||
|
||||
#ifdef FEATURE_WLAN_AP_AP_ACS_OPTIMIZE
|
||||
|
|
|
|||
Loading…
Reference in a new issue