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

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

Merge "icnss: Add check to validate wlan driver probe status before probe"

parents 8049821e 6d99aa2b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1936,6 +1936,9 @@ static int icnss_call_driver_probe(struct icnss_priv *priv)
	if (!priv->ops || !priv->ops->probe)
		return 0;

	if (test_bit(ICNSS_DRIVER_PROBED, &priv->state))
		return -EINVAL;

	icnss_pr_dbg("Calling driver probe state: 0x%lx\n", priv->state);

	icnss_hw_power_on(priv);