qcacld-3.0: Update correct band capability to OEM
In case of lowi, Supported bands are populated from psoc->soc_nif.user_config.band_capability which is same as that of ini file and not the intersected band support. In function wifi_pos_populate_caps caps->supported_bands is populated from psoc->soc_nif.user_config.band_capability which may not be supported by firmware. Fix is to update psoc->soc_nif.user_config.band_capability with the intersected immediately after fetching intersected band support to avoid incompatibilty. Change-Id: I4771e3aff227d29916dafd70726daa9f0c87fef8 CRs-Fixed: 2538590
This commit is contained in:
@@ -2071,6 +2071,7 @@ int hdd_update_tgt_cfg(hdd_handle_t hdd_handle, struct wma_tgt_cfg *cfg)
|
||||
}
|
||||
|
||||
hdd_ctx->curr_band = band_capability;
|
||||
hdd_ctx->psoc->soc_nif.user_config.band_capability = hdd_ctx->curr_band;
|
||||
|
||||
status = wlan_hdd_update_wiphy_supported_band(hdd_ctx);
|
||||
if (QDF_IS_STATUS_ERROR(status)) {
|
||||
|
مرجع در شماره جدید
Block a user