mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
Merge "icnss: Allow register/unregister driver execution in serial manner"
This commit is contained in:
commit
2e5aa99ff6
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue