mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-09 20:31:13 -05:00
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
This commit is contained in:
parent
25f79683e2
commit
1cba9d0dd2
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue