qcacld-3.0: Rename HDD PDEV object delete API

Rename HDD PDEV object delete API to hdd_release_and_destroy_pdev
to indicate its true behaviour.

Change-Id: Idefcd72b2ab038ca5c9b30e42893c261647069a6
CRs-Fixed: 1108530
This commit is contained in:
Rajeev Kumar
2017-01-06 13:01:08 -08:00
committed by qcabuildsw
부모 1cba9d0dd2
커밋 3a6c13c8c7
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제

파일 보기

@@ -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); 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 * @hdd_ctx: Hdd context
* *
* This API deletes pdev object and release its reference from hdd context * This API deletes pdev object and release its reference from hdd context
* *
* Return: QDF_STATUS * 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 * hdd_create_and_store_vdev() - Create vdev object and store in hdd adapter

파일 보기

@@ -7907,7 +7907,7 @@ int hdd_wlan_stop_modules(hdd_context_t *hdd_ctx)
QDF_ASSERT(0); 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)) if (QDF_IS_STATUS_ERROR(qdf_status))
hdd_err("Pdev delete failed"); 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; 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; struct wlan_objmgr_pdev *pdev = hdd_ctx->hdd_pdev;