mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
Merge "qcacld-3.0: Ignore netdev notifier when driver status is closed" into wlan-cld3.driver.lnx.2.0-dev
This commit is contained in:
commit
f9557f1c77
1 changed files with 6 additions and 0 deletions
|
|
@ -510,6 +510,12 @@ static int __hdd_netdev_notifier_call(struct notifier_block *nb,
|
|||
QDF_ASSERT(0);
|
||||
return NOTIFY_DONE;
|
||||
}
|
||||
|
||||
if (hdd_ctx->driver_status == DRIVER_MODULES_CLOSED) {
|
||||
hdd_err("%s: Driver module is closed", __func__);
|
||||
return NOTIFY_DONE;
|
||||
}
|
||||
|
||||
if (cds_is_driver_recovering() || cds_is_driver_in_bad_state())
|
||||
return NOTIFY_DONE;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue