Browse Source

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
Rajeev Kumar 8 years ago
parent
commit
1cba9d0dd2
2 changed files with 4 additions and 4 deletions
  1. 2 2
      core/hdd/inc/wlan_hdd_main.h
  2. 2 2
      core/hdd/src/wlan_hdd_main.c

+ 2 - 2
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

+ 2 - 2
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;