mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qcacld-3.0: Update regulatory band capability with FW capability
Update band capability of regulatory component with firmware band capability Change-Id: I9916b17dfa279ebecc0f459d4c0b13580578b4b6 CRs-Fixed: 2689885
This commit is contained in:
parent
e77a0364f7
commit
bfacaa2d0d
1 changed files with 6 additions and 0 deletions
|
|
@ -2276,6 +2276,12 @@ int hdd_update_tgt_cfg(hdd_handle_t hdd_handle, struct wma_tgt_cfg *cfg)
|
|||
goto pdev_close;
|
||||
}
|
||||
|
||||
status = ucfg_reg_set_band(hdd_ctx->pdev, band_capability);
|
||||
if (QDF_IS_STATUS_ERROR(status)) {
|
||||
hdd_err("Failed to update regulatory band info");
|
||||
goto pdev_close;
|
||||
}
|
||||
|
||||
if (!cds_is_driver_recovering() || cds_is_driver_in_bad_state()) {
|
||||
hdd_ctx->reg.reg_domain = cfg->reg_domain;
|
||||
hdd_ctx->reg.eeprom_rd_ext = cfg->eeprom_rd_ext;
|
||||
|
|
|
|||
Loading…
Reference in a new issue