Преглед изворни кода

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;