瀏覽代碼

qcacld-3.0: Set drop_bcn_on_chan_mismatch to Scan

Set ini drop_bcn_on_chan_mismatch configuration to
Scan component.

Change-Id: I60acddd69fc99791651def587b90243898ec60e9
CRs-Fixed: 2308731
Liangwei Dong 6 年之前
父節點
當前提交
ac3ddde459
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      core/hdd/src/wlan_hdd_main.c

+ 3 - 0
core/hdd/src/wlan_hdd_main.c

@@ -13796,6 +13796,9 @@ static int hdd_update_scan_config(struct hdd_context *hdd_ctx)
 		hdd_err("failed pmo psoc configuration");
 		return -EINVAL;
 	}
+	ucfg_scan_set_global_config(
+		psoc, SCAN_CFG_DROP_BCN_ON_CHANNEL_MISMATCH,
+		cfg_get(psoc, CFG_DROP_BCN_ON_CHANNEL_MISMATCH));
 
 	return 0;
 }