diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index a5e817d104fd..99a624c8dbe3 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -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;