浏览代码

qcacld-3.0: Configure num_vdevs for FTM mode

Recent num_vdevs configuration change involved the regression,
that num_vdevs in FTM mode isn't configured, and default 0 interface
allowed. This is blocking FTM initialized.

Though no vdev required for FTM, here use INI configuration
to bypass check as well.

CRs-Fixed: 2266815
Change-Id: I019814fb2c37f1f9b5922545769761bed7a0da52
Lin Bai 6 年之前
父节点
当前提交
7d83a64f4c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/hdd/src/wlan_hdd_ftm.c

+ 1 - 0
core/hdd/src/wlan_hdd_ftm.c

@@ -78,6 +78,7 @@ int hdd_update_cds_config_ftm(struct hdd_context *hdd_ctx)
 	hdd_lpass_populate_cds_config(cds_cfg, hdd_ctx);
 	cds_cfg->sub_20_channel_width = WLAN_SUB_20_CH_WIDTH_NONE;
 	cds_cfg->self_recovery_enabled = hdd_ctx->config->enableSelfRecovery;
+	cds_cfg->num_vdevs = hdd_ctx->config->num_vdevs;
 	cds_init_ini_config(cds_cfg);
 
 	return 0;