qcacld-3.0: Ignore target suspend if fw is down
Ignore target suspend timeout if fw is down such that system can recover gracefully. Change-Id: I26c3a1fb34483a46cd4f9d48d17408b688e5ad6c CRs-Fixed: 2130097
This commit is contained in:
parent
bc227bafff
commit
6dd45a84ec
@ -1849,6 +1849,11 @@ static void cds_trigger_recovery_work(void *param)
|
||||
return;
|
||||
}
|
||||
|
||||
if (cds_is_fw_down()) {
|
||||
cds_err("FW is down; ignoring recovery trigger");
|
||||
return;
|
||||
}
|
||||
|
||||
qdf = cds_get_context(QDF_MODULE_ID_QDF_DEVICE);
|
||||
if (!qdf) {
|
||||
cds_err("Qdf context is null");
|
||||
|
Loading…
Reference in New Issue
Block a user