diff options
author | Rajeev Kumar <rajekuma@codeaurora.org> | 2017-11-09 12:09:10 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-11-10 09:57:48 -0800 |
commit | 8b06f5a8e05498fb8315feb42aa38581a4e86ecc (patch) | |
tree | 96d1cc9f81377644ffa34f494afa4bc81b56533a /core/cds | |
parent | 016927bd788ade0c028cc6e2f005350bb87deb1d (diff) | |
download | qcacld-8b06f5a8e05498fb8315feb42aa38581a4e86ecc.tar.gz |
qcacld-3.0: Do not panic on fw ready timeout on non-debug builds
Currently WLAN host driver is triggering panic on fw ready time out
on all builds without checking if self recovery is enabled or not.
On end user builds WLAN self recovery is enabled which helps to avoid
rebooting the device in this case which is easily recoverable during
next WiFi turn on. Add self recovery enabled check on fw ready timeout
before calling qdf_bug.
Change-Id: I9c9ee3f4b87118679e79e646fb326cc4afdb1845
CRs-Fixed: 2141066
Diffstat (limited to 'core/cds')
-rw-r--r-- | core/cds/src/cds_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cds/src/cds_api.c b/core/cds/src/cds_api.c index 3f958285ed..b674aea2ed 100644 --- a/core/cds/src/cds_api.c +++ b/core/cds/src/cds_api.c @@ -689,7 +689,7 @@ QDF_STATUS cds_pre_enable(v_CONTEXT_t cds_context) * fail gracefully if FW is down allowing re-probing from * from the platform driver */ - if (!cds_is_fw_down()) + if ((!cds_is_fw_down()) && (!cds_is_self_recovery_enabled())) QDF_BUG(0); htc_stop(gp_cds_context->htc_ctx); |