From 1cba9d0dd2aad74cd50fd13b819caa153b129439 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Fri, 6 Jan 2017 11:36:14 -0800 Subject: [PATCH] qcacld-3.0: Rename HDD psoc object delete API Rename HDD PSOC object delete API to hdd_release_and_destroy_psoc to indicate its true behaviour. Change-Id: I750f1575c49044230309efbc44b5502ae3ab9ac2 CRs-Fixed: 1108508 --- core/hdd/inc/wlan_hdd_main.h | 4 ++-- core/hdd/src/wlan_hdd_main.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h index 27cba2868ac4..e9fb59c3a6b0 100644 --- a/core/hdd/inc/wlan_hdd_main.h +++ b/core/hdd/inc/wlan_hdd_main.h @@ -2024,14 +2024,14 @@ void hdd_set_roaming_in_progress(bool value); QDF_STATUS hdd_create_and_store_psoc(hdd_context_t *hdd_ctx, uint8_t psoc_id); /** - * hdd_destroy_and_release_psoc() - Deletes the psoc object + * hdd_release_and_destroy_psoc() - Deletes the psoc object * @hdd_ctx: Hdd context * * This API deletes psoc object and release its reference from hdd context * * Return: QDF_STATUS */ -QDF_STATUS hdd_destroy_and_release_psoc(hdd_context_t *hdd_ctx); +QDF_STATUS hdd_release_and_destroy_psoc(hdd_context_t *hdd_ctx); /** * hdd_create_and_store_pdev() - Create pdev object and store in hdd context diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 2d352a7c1e0b..918889d14218 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -7911,7 +7911,7 @@ int hdd_wlan_stop_modules(hdd_context_t *hdd_ctx) if (QDF_IS_STATUS_ERROR(qdf_status)) hdd_err("Pdev delete failed"); - qdf_status = hdd_destroy_and_release_psoc(hdd_ctx); + qdf_status = hdd_release_and_destroy_psoc(hdd_ctx); if (QDF_IS_STATUS_ERROR(qdf_status)) hdd_err("Psoc delete failed"); @@ -9930,7 +9930,7 @@ QDF_STATUS hdd_create_and_store_psoc(hdd_context_t *hdd_ctx, uint8_t psoc_id) return QDF_STATUS_SUCCESS; } -QDF_STATUS hdd_destroy_and_release_psoc(hdd_context_t *hdd_ctx) +QDF_STATUS hdd_release_and_destroy_psoc(hdd_context_t *hdd_ctx) { struct wlan_objmgr_psoc *psoc = hdd_ctx->hdd_psoc;