浏览代码

qcacld-3.0: Add recovery ability for ftm

Add recovery ability for ftm, otherwise it will fail in
cds_trigger_recovery_work

Change-Id: I425a0eadc174bc5a56e62ad3ebfb78841140abee
CRs-Fixed: 2258709
Wen Gong 6 年之前
父节点
当前提交
f07597e7e6
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/hdd/src/wlan_hdd_ftm.c

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

@@ -77,6 +77,7 @@ int hdd_update_cds_config_ftm(struct hdd_context *hdd_ctx)
 			hdd_ctx->config->enablePowersaveOffload;
 	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_init_ini_config(cds_cfg);
 
 	return 0;