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

Commit d8565056 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "icnss2: Clear driver ops during driver unload"

parents 67d86d6a 5cdadf10
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2009,6 +2009,7 @@ int icnss_unregister_driver(struct icnss_driver_ops *ops)

	if (!priv->ops || (!test_bit(ICNSS_DRIVER_PROBED, &penv->state))) {
		icnss_pr_err("Driver not registered\n");
		penv->ops = NULL;
		ret = -ENOENT;
		goto out;
	}