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

Commit 8e363768 authored by Sandeep Singh's avatar Sandeep Singh
Browse files

icnss: Add debugs prints to check PD restart status



PD restart is enabled by adding pd restart enabled
entry in modemr.jsn file. If pd restart is not enabled,
the service notifier will return EOPNOTSUPP error to
wlan platform driver. This change adds debug logs to
check if pd restart request has been processed successfully
or not.

Change-Id: I58f92ca856f0e152f06a61261c6e20c64190b24a
Signed-off-by: default avatarSandeep Singh <sandsing@codeaurora.org>
parent 687c0ac9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2488,6 +2488,9 @@ int icnss_trigger_recovery(struct device *dev)
	if (!ret)
		set_bit(ICNSS_HOST_TRIGGERED_PDR, &priv->state);

	icnss_pr_warn("PD restart request completed, ret: %d state: 0x%lx\n",
		      ret, priv->state);

out:
	return ret;
}