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

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

Merge "icnss: Clear driver ops during driver unload"

parents d8565056 99cd6dd4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1992,6 +1992,7 @@ int icnss_unregister_driver(struct icnss_driver_ops *ops)
	if (!penv->ops || (!test_bit(ICNSS_DRIVER_PROBED, &penv->state))) {
		icnss_pr_err("Driver not registered/probed\n");
		ret = -ENOENT;
		penv->ops = NULL;
		goto out;
	}