diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h index e9fb59c3a6..81a089d86c 100644 --- a/core/hdd/inc/wlan_hdd_main.h +++ b/core/hdd/inc/wlan_hdd_main.h @@ -2044,14 +2044,14 @@ QDF_STATUS hdd_release_and_destroy_psoc(hdd_context_t *hdd_ctx); QDF_STATUS hdd_create_and_store_pdev(hdd_context_t *hdd_ctx); /** - * hdd_destroy_and_release_pdev() - Deletes the pdev object + * hdd_release_and_destroy_pdev() - Deletes the pdev object * @hdd_ctx: Hdd context * * This API deletes pdev object and release its reference from hdd context * * Return: QDF_STATUS */ -QDF_STATUS hdd_destroy_and_release_pdev(hdd_context_t *hdd_ctx); +QDF_STATUS hdd_release_and_destroy_pdev(hdd_context_t *hdd_ctx); /** * hdd_create_and_store_vdev() - Create vdev object and store in hdd adapter diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 918889d142..fa7b99021d 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -7907,7 +7907,7 @@ int hdd_wlan_stop_modules(hdd_context_t *hdd_ctx) QDF_ASSERT(0); } - qdf_status = hdd_destroy_and_release_pdev(hdd_ctx); + qdf_status = hdd_release_and_destroy_pdev(hdd_ctx); if (QDF_IS_STATUS_ERROR(qdf_status)) hdd_err("Pdev delete failed"); @@ -9962,7 +9962,7 @@ QDF_STATUS hdd_create_and_store_pdev(hdd_context_t *hdd_ctx) return QDF_STATUS_SUCCESS; } -QDF_STATUS hdd_destroy_and_release_pdev(hdd_context_t *hdd_ctx) +QDF_STATUS hdd_release_and_destroy_pdev(hdd_context_t *hdd_ctx) { struct wlan_objmgr_pdev *pdev = hdd_ctx->hdd_pdev;