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

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

cnss2: Do not assert if mode off QMI message fails



Since driver will reset and power off device anyway, there is no
need to assert when mode off QMI message fails.

Change-Id: I231ca143f07d2593df158f454a484951f28adab7
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent 164b0ac3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -520,6 +520,7 @@ int cnss_wlfw_wlan_mode_send_sync(struct cnss_plat_data *plat_priv,

	return 0;
out:
	if (mode != QMI_WLFW_OFF_V01)
		CNSS_ASSERT(0);
	return ret;
}