Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa77b29b authored by Yue Ma's avatar Yue Ma
Browse files

cnss2: Disable calibration for emulation builds



Skip cold boot calibration if CONFIG_CNSS_EMULATION is enabled.

Change-Id: Ifee1c5cdf0ab23cbf891c447332d06fef213b46e
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent 5bf38f99
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2680,7 +2680,7 @@ static void cnss_init_control_params(struct cnss_plat_data *plat_priv)
				  "cnss-daemon-support"))
		plat_priv->ctrl_params.quirks |= BIT(ENABLE_DAEMON_SUPPORT);

	plat_priv->cbc_enabled =
	plat_priv->cbc_enabled = !IS_ENABLED(CONFIG_CNSS_EMULATION) &&
		of_property_read_bool(plat_priv->plat_dev->dev.of_node,
				      "qcom,wlan-cbc-enabled");