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:
@@ -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
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user