diff options
| author | Rajeev Kumar <rajekuma@codeaurora.org> | 2018-03-09 13:14:46 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-03-09 13:37:50 -0800 |
| commit | 9583666dbb9876416c4a930d2ab33e7d4c32030e (patch) | |
| tree | 23e7d09b56e6b299f762924baab4f65323164f6e | |
| parent | d5d5be02fdb090db1f77be18b30544a4a74d448d (diff) | |
qcacld-3.0: Ignore qdf debug fs create failure during init
Debug fs create failure should not fail wifi turn on. Add logic
to allow wifi turn on even if kernel debug fs create API returns
failure.
Change-Id: I02ce1ae4022f6590b29b8666bbe39c7387e8d0dd
CRs-Fixed: 2203329
| -rw-r--r-- | core/cds/src/cds_api.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/cds/src/cds_api.c b/core/cds/src/cds_api.c index baa58cd511e1..536d50843bc6 100644 --- a/core/cds/src/cds_api.c +++ b/core/cds/src/cds_api.c @@ -131,10 +131,8 @@ v_CONTEXT_t cds_init(void) QDF_STATUS ret; ret = qdf_debugfs_init(); - if (ret != QDF_STATUS_SUCCESS) { + if (ret != QDF_STATUS_SUCCESS) cds_err("Failed to init debugfs"); - goto err_ret; - } qdf_lock_stats_init(); qdf_mem_init(); @@ -170,7 +168,7 @@ deinit: gp_cds_context->qdf_ctx = NULL; gp_cds_context = NULL; qdf_mem_zero(&g_cds_context, sizeof(g_cds_context)); -err_ret: + return NULL; } |
