diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 0d2e4b5e2c12..34d480541e41 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -745,8 +745,11 @@ int wlan_hdd_validate_context(struct hdd_context *hdd_ctx) return -EAGAIN; } - if (cds_is_load_or_unload_in_progress()) + if (cds_is_load_or_unload_in_progress()) { + hdd_debug("%pS Load or unload in progress, state: 0x%x, ignore!", + (void *)_RET_IP_, cds_get_driver_state()); return -EAGAIN; + } if (hdd_ctx->start_modules_in_progress || hdd_ctx->stop_modules_in_progress) {