|
@@ -845,13 +845,13 @@ int wlan_hdd_validate_context(struct hdd_context *hdd_ctx)
|
|
if (cds_is_driver_in_bad_state()) {
|
|
if (cds_is_driver_in_bad_state()) {
|
|
hdd_debug("%pS driver in bad State: 0x%x Ignore!!!",
|
|
hdd_debug("%pS driver in bad State: 0x%x Ignore!!!",
|
|
(void *)_RET_IP_, cds_get_driver_state());
|
|
(void *)_RET_IP_, cds_get_driver_state());
|
|
- return -ENODEV;
|
|
|
|
|
|
+ return -EAGAIN;
|
|
}
|
|
}
|
|
|
|
|
|
if (cds_is_fw_down()) {
|
|
if (cds_is_fw_down()) {
|
|
hdd_debug("%pS FW is down: 0x%x Ignore!!!",
|
|
hdd_debug("%pS FW is down: 0x%x Ignore!!!",
|
|
(void *)_RET_IP_, cds_get_driver_state());
|
|
(void *)_RET_IP_, cds_get_driver_state());
|
|
- return -ENODEV;
|
|
|
|
|
|
+ return -EAGAIN;
|
|
}
|
|
}
|
|
|
|
|
|
return 0;
|
|
return 0;
|