Merge "icnss: Allow register/unregister driver execution in serial manner"

This commit is contained in:
qctecmdr 2020-09-08 14:43:36 -07:00 • committed by Gerrit - the friendly Code Review server
commit 2e5aa99ff6

View file

@ -2030,7 +2030,7 @@ int icnss_unregister_driver(struct icnss_driver_ops *ops)
icnss_pr_dbg("Unregistering driver, state: 0x%lx\n", priv->state);
if (!priv->ops || (!test_bit(ICNSS_DRIVER_PROBED, &penv->state))) {
if (!priv->ops) {
icnss_pr_err("Driver not registered\n");
ret = -ENOENT;
goto out;