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

Commit 3dbbe8e9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cnss: ignore pci suspend/resume when target is power down"

parents 13f80029 e7fdedb0
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1767,6 +1767,9 @@ static int cnss_wlan_pci_suspend(struct device *dev)
	if (!penv)
		goto out;

	if (!penv->pcie_link_state)
		goto out;

	wdriver = penv->driver;
	if (!wdriver)
		goto out;
@@ -1794,6 +1797,9 @@ static int cnss_wlan_pci_resume(struct device *dev)
	if (!penv)
		goto out;

	if (!penv->pcie_link_state)
		goto out;

	wdriver = penv->driver;
	if (!wdriver)
		goto out;