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
This commit is contained in:
Lin Bai 2018-06-25 16:26:20 +08:00 committed by nshrivas
parent fd0d832ac8
commit 7d83a64f4c

View File

@ -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;