mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 14:43:27 -04:00
qcacld-3.0: Update pno wiphy params after FW ready event
Currently pno related parameters are getting populated in wiphy before scan related inis are initialized, and because of this, wiphy is not getting initialized correctly as ini scan_support_enabled for pno is not initialized yet. Wiphy is registered once FW ready event is received, ideally wiphy parameters which are dependadnt on FW capabilities or cfg items should be configured once FW ready event is received. To resolve this issue, update sched scan related parameter initialization after FW ready event is received. Change-Id: Ib0cdb145caa5a0b9911365750fbfd38dc954dee3 CRs-fixed: 2400148
This commit is contained in:
parent
76d2e0aa81
commit
908925de35
2 changed files with 1 additions and 1 deletions
|
|
@ -12931,7 +12931,6 @@ int wlan_hdd_cfg80211_init(struct device *dev,
|
|||
|
||||
wlan_hdd_cfg80211_set_wiphy_sae_feature(wiphy);
|
||||
|
||||
wlan_config_sched_scan_plans_to_wiphy(wiphy, hdd_ctx->psoc);
|
||||
wlan_scan_cfg80211_add_connected_pno_support(wiphy);
|
||||
|
||||
wiphy->max_scan_ssids = MAX_SCAN_SSID;
|
||||
|
|
|
|||
|
|
@ -2005,6 +2005,7 @@ void hdd_update_tgt_cfg(hdd_handle_t hdd_handle, struct wma_tgt_cfg *cfg)
|
|||
|
||||
hdd_ctx->wmi_max_len = cfg->wmi_max_len;
|
||||
|
||||
wlan_config_sched_scan_plans_to_wiphy(hdd_ctx->wiphy, hdd_ctx->psoc);
|
||||
/*
|
||||
* This needs to be done after HDD pdev is created and stored since
|
||||
* it will access the HDD pdev object lock.
|
||||
|
|
|
|||
Loading…
Reference in a new issue