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

Commit 2ac99f05 authored by Sandeep Singh's avatar Sandeep Singh
Browse files

icnss: return recovery success to wlan driver



During firmware rejuvenation the platform driver
got the pd_down indication at the same time due to
timeout in getting the ACK for the PDEV_SUSPEND command
host driver issues self recovery. Since the PD_RESTART bit
is set from the rejuvenation, platform driver rejected
the recovery request resulting in the driver bug_on.
Hence, return recovery success to wlan driver when recovery
is already in progress.

Change-Id: I2fb63970a5952c8a50c7eb7f4ab0ca9fcb5657b0
Signed-off-by: default avatarSandeep Singh <sandsing@codeaurora.org>
parent c4ebb188
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3563,7 +3563,6 @@ int icnss_trigger_recovery(struct device *dev)
	if (test_bit(ICNSS_PD_RESTART, &priv->state)) {
		icnss_pr_err("PD recovery already in progress: state: 0x%lx\n",
			     priv->state);
		ret = -EPERM;
		goto out;
	}