diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 5661d1430251..4ffff2675429 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -844,6 +844,12 @@ int wlan_hdd_validate_context(struct hdd_context *hdd_ctx) return -ENODEV; } + if (cds_is_fw_down()) { + hdd_debug("%pS FW is down: 0x%x Ignore!!!", + (void *)_RET_IP_, cds_get_driver_state()); + return -ENODEV; + } + return 0; }